summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_container.c
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-04-04 13:38:34 +0200
committerCedric Bail <cedric@osg.samsung.com>2018-04-24 09:03:30 -0700
commita217d4b45576b4065f1ce0384efa9061a556f10a (patch)
treef6e65f19c6b13cb418854f358067ac2d38822880 /src/lib/evas/canvas/evas_vg_container.c
parenta26fbbbc66f15c359fe8b27dcb034b812d735193 (diff)
Efl.Canvas.Vg.Object (from Efl.Canvas.Vg)
Also, Efl.Canvas.Vg.* (from Efl.Canvas.VG.*) Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_container.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_container.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/evas/canvas/evas_vg_container.c b/src/lib/evas/canvas/evas_vg_container.c
index deb89ca..7b2a9cb 100644
--- a/src/lib/evas/canvas/evas_vg_container.c
+++ b/src/lib/evas/canvas/evas_vg_container.c
@@ -10,12 +10,12 @@ _efl_canvas_vg_container_render_pre(Eo *obj EINA_UNUSED,
10 Eina_Matrix3 *parent, 10 Eina_Matrix3 *parent,
11 Ector_Surface *s, 11 Ector_Surface *s,
12 void *data, 12 void *data,
13 Efl_Canvas_VG_Node_Data *nd) 13 Efl_Canvas_Vg_Node_Data *nd)
14{ 14{
15 Efl_Canvas_VG_Container_Data *pd = data; 15 Efl_Canvas_Vg_Container_Data *pd = data;
16 Eina_List *l; 16 Eina_List *l;
17 Eo *child; 17 Eo *child;
18 Efl_Canvas_VG_Node_Data *child_nd; 18 Efl_Canvas_Vg_Node_Data *child_nd;
19 Efl_Gfx_Change_Flag flag; 19 Efl_Gfx_Change_Flag flag;
20 20
21 if (nd->flags == EFL_GFX_CHANGE_FLAG_NONE) return ; 21 if (nd->flags == EFL_GFX_CHANGE_FLAG_NONE) return ;
@@ -38,9 +38,9 @@ _efl_canvas_vg_container_render_pre(Eo *obj EINA_UNUSED,
38 38
39static Eo * 39static Eo *
40_efl_canvas_vg_container_efl_object_constructor(Eo *obj, 40_efl_canvas_vg_container_efl_object_constructor(Eo *obj,
41 Efl_Canvas_VG_Container_Data *pd) 41 Efl_Canvas_Vg_Container_Data *pd)
42{ 42{
43 Efl_Canvas_VG_Node_Data *nd; 43 Efl_Canvas_Vg_Node_Data *nd;
44 44
45 pd->names = eina_hash_stringshared_new(NULL); 45 pd->names = eina_hash_stringshared_new(NULL);
46 46
@@ -56,7 +56,7 @@ _efl_canvas_vg_container_efl_object_constructor(Eo *obj,
56 56
57static void 57static void
58_efl_canvas_vg_container_efl_object_destructor(Eo *obj, 58_efl_canvas_vg_container_efl_object_destructor(Eo *obj,
59 Efl_Canvas_VG_Container_Data *pd EINA_UNUSED) 59 Efl_Canvas_Vg_Container_Data *pd EINA_UNUSED)
60{ 60{
61 efl_destructor(efl_super(obj, MY_CLASS)); 61 efl_destructor(efl_super(obj, MY_CLASS));
62 62
@@ -66,7 +66,7 @@ _efl_canvas_vg_container_efl_object_destructor(Eo *obj,
66 66
67static void 67static void
68_efl_canvas_vg_container_efl_gfx_path_bounds_get(const Eo *obj EINA_UNUSED, 68_efl_canvas_vg_container_efl_gfx_path_bounds_get(const Eo *obj EINA_UNUSED,
69 Efl_Canvas_VG_Container_Data *pd, 69 Efl_Canvas_Vg_Container_Data *pd,
70 Eina_Rect *r) 70 Eina_Rect *r)
71{ 71{
72 Eina_Rect s; 72 Eina_Rect s;
@@ -92,7 +92,7 @@ _efl_canvas_vg_container_efl_gfx_path_bounds_get(const Eo *obj EINA_UNUSED,
92} 92}
93 93
94static Efl_VG * 94static Efl_VG *
95_efl_canvas_vg_container_child_get(Eo *obj EINA_UNUSED, Efl_Canvas_VG_Container_Data *pd, const char *name) 95_efl_canvas_vg_container_child_get(Eo *obj EINA_UNUSED, Efl_Canvas_Vg_Container_Data *pd, const char *name)
96{ 96{
97 const char *tmp = eina_stringshare_add(name); 97 const char *tmp = eina_stringshare_add(name);
98 Efl_VG *r; 98 Efl_VG *r;
@@ -104,14 +104,14 @@ _efl_canvas_vg_container_child_get(Eo *obj EINA_UNUSED, Efl_Canvas_VG_Container_
104} 104}
105 105
106static Eina_Iterator * 106static Eina_Iterator *
107_efl_canvas_vg_container_children_get(Eo *obj EINA_UNUSED, Efl_Canvas_VG_Container_Data *pd) 107_efl_canvas_vg_container_children_get(Eo *obj EINA_UNUSED, Efl_Canvas_Vg_Container_Data *pd)
108{ 108{
109 return eina_list_iterator_new(pd->children); 109 return eina_list_iterator_new(pd->children);
110} 110}
111 111
112static Eina_Bool 112static Eina_Bool
113_efl_canvas_vg_container_efl_gfx_path_interpolate(Eo *obj, 113_efl_canvas_vg_container_efl_gfx_path_interpolate(Eo *obj,
114 Efl_Canvas_VG_Container_Data *pd, 114 Efl_Canvas_Vg_Container_Data *pd,
115 const Efl_VG *from, const Efl_VG *to, 115 const Efl_VG *from, const Efl_VG *to,
116 double pos_map) 116 double pos_map)
117{ 117{
@@ -152,7 +152,7 @@ _efl_canvas_vg_container_efl_gfx_path_interpolate(Eo *obj,
152} 152}
153 153
154EOLIAN static Efl_VG * 154EOLIAN static Efl_VG *
155_efl_canvas_vg_container_efl_duplicate_duplicate(const Eo *obj, Efl_Canvas_VG_Container_Data *pd) 155_efl_canvas_vg_container_efl_duplicate_duplicate(const Eo *obj, Efl_Canvas_Vg_Container_Data *pd)
156{ 156{
157 Eina_List *l; 157 Eina_List *l;
158 Efl_VG *child; 158 Efl_VG *child;