summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_gradient_radial.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-05-11 13:13:27 +0100
committerTom Hacohen <tom@stosb.com>2016-05-11 13:13:27 +0100
commitd64f2fdd4373dfc477f4d69e6d2ef59ad333763b (patch)
tree99e7c6f486dd2c1273ad90787244d70ed47b5327 /src/lib/evas/canvas/evas_vg_gradient_radial.c
parent70b5f3875e54446e21dcef56e80fc7046a2dbdec (diff)
Efl vg: Remove the no longer needed .Base hack.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_gradient_radial.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_gradient_radial.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/evas/canvas/evas_vg_gradient_radial.c b/src/lib/evas/canvas/evas_vg_gradient_radial.c
index 21cd70308f..c36150ae90 100644
--- a/src/lib/evas/canvas/evas_vg_gradient_radial.c
+++ b/src/lib/evas/canvas/evas_vg_gradient_radial.c
@@ -22,7 +22,7 @@ _efl_vg_gradient_radial_efl_gfx_gradient_radial_center_set(Eo *obj EINA_UNUSED,
22 pd->center.x = x; 22 pd->center.x = x;
23 pd->center.y = y; 23 pd->center.y = y;
24 24
25 _efl_vg_base_changed(obj); 25 _efl_vg_changed(obj);
26} 26}
27 27
28static void 28static void
@@ -41,7 +41,7 @@ _efl_vg_gradient_radial_efl_gfx_gradient_radial_radius_set(Eo *obj EINA_UNUSED,
41{ 41{
42 pd->radius = r; 42 pd->radius = r;
43 43
44 _efl_vg_base_changed(obj); 44 _efl_vg_changed(obj);
45} 45}
46 46
47static double 47static double
@@ -59,7 +59,7 @@ _efl_vg_gradient_radial_efl_gfx_gradient_radial_focal_set(Eo *obj EINA_UNUSED,
59 pd->focal.x = x; 59 pd->focal.x = x;
60 pd->focal.y = y; 60 pd->focal.y = y;
61 61
62 _efl_vg_base_changed(obj); 62 _efl_vg_changed(obj);
63} 63}
64 64
65static void 65static void
@@ -76,7 +76,7 @@ _efl_vg_gradient_radial_render_pre(Eo *obj,
76 Eina_Matrix3 *parent, 76 Eina_Matrix3 *parent,
77 Ector_Surface *s, 77 Ector_Surface *s,
78 void *data, 78 void *data,
79 Efl_VG_Base_Data *nd) 79 Efl_VG_Data *nd)
80{ 80{
81 Efl_VG_Gradient_Radial_Data *pd = data; 81 Efl_VG_Gradient_Radial_Data *pd = data;
82 Efl_VG_Gradient_Data *gd; 82 Efl_VG_Gradient_Data *gd;
@@ -107,11 +107,11 @@ _efl_vg_gradient_radial_render_pre(Eo *obj,
107static Eo * 107static Eo *
108_efl_vg_gradient_radial_eo_base_constructor(Eo *obj, Efl_VG_Gradient_Radial_Data *pd) 108_efl_vg_gradient_radial_eo_base_constructor(Eo *obj, Efl_VG_Gradient_Radial_Data *pd)
109{ 109{
110 Efl_VG_Base_Data *nd; 110 Efl_VG_Data *nd;
111 111
112 obj = eo_constructor(eo_super(obj, MY_CLASS)); 112 obj = eo_constructor(eo_super(obj, MY_CLASS));
113 113
114 nd = eo_data_scope_get(obj, EFL_VG_BASE_CLASS); 114 nd = eo_data_scope_get(obj, EFL_VG_CLASS);
115 nd->render_pre = _efl_vg_gradient_radial_render_pre; 115 nd->render_pre = _efl_vg_gradient_radial_render_pre;
116 nd->data = pd; 116 nd->data = pd;
117 117
@@ -126,11 +126,11 @@ _efl_vg_gradient_radial_eo_base_destructor(Eo *obj,
126} 126}
127 127
128static void 128static void
129_efl_vg_gradient_radial_efl_vg_base_bounds_get(Eo *obj, Efl_VG_Gradient_Radial_Data *pd, Eina_Rectangle *r) 129_efl_vg_gradient_radial_efl_vg_bounds_get(Eo *obj, Efl_VG_Gradient_Radial_Data *pd, Eina_Rectangle *r)
130{ 130{
131 Efl_VG_Base_Data *nd; 131 Efl_VG_Data *nd;
132 132
133 nd = eo_data_scope_get(obj, EFL_VG_BASE_CLASS); 133 nd = eo_data_scope_get(obj, EFL_VG_CLASS);
134 EINA_RECTANGLE_SET(r, 134 EINA_RECTANGLE_SET(r,
135 nd->x + pd->center.x - pd->radius, 135 nd->x + pd->center.x - pd->radius,
136 nd->y + pd->center.y - pd->radius, 136 nd->y + pd->center.y - pd->radius,
@@ -138,9 +138,9 @@ _efl_vg_gradient_radial_efl_vg_base_bounds_get(Eo *obj, Efl_VG_Gradient_Radial_D
138} 138}
139 139
140static Eina_Bool 140static Eina_Bool
141_efl_vg_gradient_radial_efl_vg_base_interpolate(Eo *obj, 141_efl_vg_gradient_radial_efl_vg_interpolate(Eo *obj,
142 Efl_VG_Gradient_Radial_Data *pd, 142 Efl_VG_Gradient_Radial_Data *pd,
143 const Efl_VG_Base *from, const Efl_VG_Base *to, 143 const Efl_VG *from, const Efl_VG *to,
144 double pos_map) 144 double pos_map)
145{ 145{
146 Efl_VG_Gradient_Radial_Data *fromd, *tod; 146 Efl_VG_Gradient_Radial_Data *fromd, *tod;
@@ -170,9 +170,9 @@ _efl_vg_gradient_radial_efl_vg_base_interpolate(Eo *obj,
170} 170}
171 171
172static void 172static void
173_efl_vg_gradient_radial_efl_vg_base_dup(Eo *obj, 173_efl_vg_gradient_radial_efl_vg_dup(Eo *obj,
174 Efl_VG_Gradient_Radial_Data *pd EINA_UNUSED, 174 Efl_VG_Gradient_Radial_Data *pd EINA_UNUSED,
175 const Efl_VG_Base *from) 175 const Efl_VG *from)
176{ 176{
177 Efl_VG_Gradient_Radial_Data *fromd; 177 Efl_VG_Gradient_Radial_Data *fromd;
178 178