summaryrefslogtreecommitdiffstats
path: root/lib/efl/evas.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-06 15:46:01 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-06 15:46:18 +0200
commite5cb60a66aa0a18dc9dbd8cffc7e0cd00d254a46 (patch)
treef71c44c323e566e4a2f7133ce3357ea72a4873af /lib/efl/evas.rb
parent9aba5f0bc6594806df6954df88749d1db99dd232 (diff)
downloadffi-efl-e5cb60a66aa0a18dc9dbd8cffc7e0cd00d254a46.zip
ffi-efl-e5cb60a66aa0a18dc9dbd8cffc7e0cd00d254a46.tar.gz
add REvasPolygon#<<
Diffstat (limited to 'lib/efl/evas.rb')
-rw-r--r--lib/efl/evas.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/efl/evas.rb b/lib/efl/evas.rb
index b706b8b..7f0fd8b 100644
--- a/lib/efl/evas.rb
+++ b/lib/efl/evas.rb
@@ -266,6 +266,7 @@ module Efl
end
#
class REvasRectangle < REvasObject
+ #
end
#
class REvasLine < REvasObject
@@ -286,6 +287,10 @@ module Efl
#
search_prefixes 'evas_object_polygon_'
#
+ def point_add *args
+ Native.evas_object_polygon_point_add @ptr, *args
+ end
+ alias :<< :point_add
end
#
class REvasText < REvasObject