summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_vg.eo
blob: 2457c0e36f12abeffc6636cdec46ad19fc3f6ed2 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
import eina_types;

abstract Efl.VG (Efl.Object, Efl.Gfx, Efl.Gfx.Stack, Efl.Dup)
{
   [[Efl vector graphics abstract class]]
   eo_prefix: efl_vg;
   legacy_prefix: evas_vg_node;
   methods {
      @property name {
         set {
            [[Set an unique name from the parent point of view. $null means
              no name.

              @since 1.16
            ]]
         }
         get {
            [[Get an unique name from the parent point of view.

              $null means no name. When set a parent after the name what
              defined, it might be forced back to $null if the parent
              already has a node of that name.

              @since 1.16
            ]]
         }
         values {
            name: string; [[Node name]]
         }
      }
      @property transformation {
         set {
            [[Sets the transformation matrix to be used for this node object.

              Note: Pass $null to cancel the applied transformation.

              @since 1.14]]
         }
         get {
            [[Gets the transformation matrix used for this node object.

              @since 1.14]]
         }
         values {
            @cref m: Eina.Matrix3; [[Transformation matrix.]]
         }
      }
      @property origin {
         set {
            [[Sets the origin position of this node object.

              This origin position affects to node transformation.

              @since 1.14]]
         }
         get {
            [[Gets the origin position of this node object.

              @since 1.14]]
         }
         values {
            x: double; [[$origin x position.]]
            y: double; [[$origin y position.]]
         }
      }
      @property mask {
         [[Vector graphics object mask]]
         set {
         }
         get {
         }
         values {
            m: Efl.VG; [[Object mask]]
         }
      }
/*      quality {
         set {
         }
         get {
         }
         values {
            Evas_VG_Quality q;
         }
      } */
      bounds_get @pure_virtual {
         [[Give the bounding box in screen coordinate as being drawn.

           It will start as the control box until it is refined once the shape
           is computed.

           @since 1.14]]
         params {
            @out r: Eina.Rect; [[Bounding box to be returned.]]
         }
      }
      interpolate {
        [[Interpolate a given vector graphics object]]

        return: bool; [[$true on success, $false otherwise]]
        params {
          @in from: const(Efl.VG); [[Source object]]
          @in to: const(Efl.VG); [[Destination object]]
          @in pos_map: double; [[Interpolate mapping]]
        }
      }
   }
   implements {
      Efl.Object.parent { set; }
      Efl.Object.constructor;
      Efl.Object.destructor;
      Efl.Gfx.visible { get; set; }
      Efl.Gfx.color { get; set; }
      Efl.Gfx.size { get; }
      Efl.Gfx.position { get; set; }
      Efl.Gfx.geometry { get; }
      Efl.Gfx.Stack.below { get; }
      Efl.Gfx.Stack.above { get; }
      Efl.Gfx.Stack.stack_below;
      Efl.Gfx.Stack.stack_above;
      Efl.Gfx.Stack.raise;
      Efl.Gfx.Stack.lower;
      Efl.Dup.dup;
   }
}