summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_gfx_map.eo
blob: ea9e3635f7ec92a411d0be762325d429ed692a56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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 {
   }
}