aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/efl_gfx_map.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-06-28 14:12:17 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-06-29 09:12:26 +0900
commit6b8228ffbde5bbe9b8c53a46ae226946ae7afb70 (patch)
tree7a981912c51af0cf0fb0ec69b069888e4924e985 /src/lib/evas/canvas/efl_gfx_map.eo
parentecore_drm: Don't pass uninit garbage to drm ioctls (diff)
downloadefl-6b8228ffbde5bbe9b8c53a46ae226946ae7afb70.tar.gz
evas: Move map to a separate mixin
Evas map is not translated to proper eo apis yet. Efl.Canvas.Map will be a mixin implementing the evas map API in a bindable API.
Diffstat (limited to 'src/lib/evas/canvas/efl_gfx_map.eo')
-rw-r--r--src/lib/evas/canvas/efl_gfx_map.eo41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_gfx_map.eo b/src/lib/evas/canvas/efl_gfx_map.eo
new file mode 100644
index 0000000000..ea9e3635f7
--- /dev/null
+++ b/src/lib/evas/canvas/efl_gfx_map.eo
@@ -0,0 +1,41 @@
+mixin Efl.Gfx.Map (Eo.Interface, Eo.Base)
+{
+ [[Texture UV mapping for all objects (rotation, perspective, 3d, ...).
+
+ Evas allows different transformations to be applied to all kinds of
+ objects. These are applied by means of UV mapping.
+
+ With UV mapping, one maps points in the source object to a 3D space
+ positioning at target. This allows rotation, perspective, scale and
+ lots of other effects, depending on the map that is used.
+
+ Each map point may carry a multiplier color. If properly
+ calculated, these can do shading effects on the object, producing
+ 3D effects.
+ ]]
+ data: null;
+ methods {
+ @property map_enable @virtual_pure {
+ [[Whether map transformation is enabled on this object.
+
+ The default map enable state is off ($false).
+ ]]
+ set {
+ [[Enable or disable the use of map for this object. On
+ enable, the object geometry will be saved, and the new
+ geometry will change (position and size) to reflect the
+ map geometry set.
+ ]]
+ legacy: evas_object_map_enable_set;
+ }
+ get {
+ legacy: evas_object_map_enable_get;
+ }
+ values {
+ enabled: bool; [[Enabled state.]]
+ }
+ }
+ }
+ implements {
+ }
+}