aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/efl_gfx_map.eo
diff options
context:
space:
mode:
authorThiep Ha <thiepha@gmail.com>2017-06-08 15:32:09 +0900
committerThiep Ha <thiepha@gmail.com>2017-06-08 16:53:45 +0900
commit829b9aacde72650b303502d2e2ffa632a226c5f1 (patch)
tree92ce5f15b147e82ca3350e6e6c548c19cdd3f206 /src/lib/evas/canvas/efl_gfx_map.eo
parentevas_map: support map with number of points as multiples of 4 (diff)
downloadefl-829b9aacde72650b303502d2e2ffa632a226c5f1.tar.gz
efl.gfx.map: support for map points as multiples of 4
This patch adds support for map with more than 4 points. However, we only support points with multiples of 4. This also adds efl_gfx_map_point_count_set/get APIs to set number of points. @feature
Diffstat (limited to 'src/lib/evas/canvas/efl_gfx_map.eo')
-rw-r--r--src/lib/evas/canvas/efl_gfx_map.eo10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_gfx_map.eo b/src/lib/evas/canvas/efl_gfx_map.eo
index 39d3445f67..90d49277e1 100644
--- a/src/lib/evas/canvas/efl_gfx_map.eo
+++ b/src/lib/evas/canvas/efl_gfx_map.eo
@@ -33,6 +33,16 @@ mixin Efl.Gfx.Map (Efl.Interface, Efl.Object)
not modify the values of @.map_smooth or @.map_alpha.
]]
}
+ @property map_point_count {
+ [[Number of points of a map.
+
+ This sets the number of points of map.
+ Currently, the number of points must be multiples of 4.
+ ]]
+ values {
+ count: int; [[The number of points of map]]
+ }
+ }
@property map_clockwise {
[[Clockwise state of a map (read-only).