summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_gradient_linear.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:23:16 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:23:16 +0200
commitc000ee80994c701bfab5836fcc41f6756c02b8ed (patch)
tree5b315fe55dc05e2f892fc5a6dc453914df938850 /src/lib/evas/canvas/evas_vg_gradient_linear.c
parentdfd40467fcf770a6ecc1b5dad3e1c03d13007e22 (diff)
efl: rename namespace Graphics to Gfx.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_gradient_linear.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_gradient_linear.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/lib/evas/canvas/evas_vg_gradient_linear.c b/src/lib/evas/canvas/evas_vg_gradient_linear.c
index 5d0af64eb9..71d5e0c712 100644
--- a/src/lib/evas/canvas/evas_vg_gradient_linear.c
+++ b/src/lib/evas/canvas/evas_vg_gradient_linear.c
@@ -16,36 +16,36 @@ struct _Evas_VG_Gradient_Linear_Data
16}; 16};
17 17
18static void 18static void
19_evas_vg_gradient_linear_efl_graphics_gradient_linear_start_set(Eo *obj EINA_UNUSED, 19_evas_vg_gradient_linear_efl_gfx_gradient_linear_start_set(Eo *obj EINA_UNUSED,
20 Evas_VG_Gradient_Linear_Data *pd, 20 Evas_VG_Gradient_Linear_Data *pd,
21 double x, double y) 21 double x, double y)
22{ 22{
23 pd->start.x = x; 23 pd->start.x = x;
24 pd->start.y = y; 24 pd->start.y = y;
25} 25}
26 26
27static void 27static void
28_evas_vg_gradient_linear_efl_graphics_gradient_linear_start_get(Eo *obj EINA_UNUSED, 28_evas_vg_gradient_linear_efl_gfx_gradient_linear_start_get(Eo *obj EINA_UNUSED,
29 Evas_VG_Gradient_Linear_Data *pd, 29 Evas_VG_Gradient_Linear_Data *pd,
30 double *x, double *y) 30 double *x, double *y)
31{ 31{
32 if (x) *x = pd->start.x; 32 if (x) *x = pd->start.x;
33 if (y) *y = pd->start.y; 33 if (y) *y = pd->start.y;
34} 34}
35 35
36static void 36static void
37_evas_vg_gradient_linear_efl_graphics_gradient_linear_end_set(Eo *obj EINA_UNUSED, 37_evas_vg_gradient_linear_efl_gfx_gradient_linear_end_set(Eo *obj EINA_UNUSED,
38 Evas_VG_Gradient_Linear_Data *pd, 38 Evas_VG_Gradient_Linear_Data *pd,
39 double x, double y) 39 double x, double y)
40{ 40{
41 pd->end.x = x; 41 pd->end.x = x;
42 pd->end.y = y; 42 pd->end.y = y;
43} 43}
44 44
45static void 45static void
46_evas_vg_gradient_linear_efl_graphics_gradient_linear_end_get(Eo *obj EINA_UNUSED, 46_evas_vg_gradient_linear_efl_gfx_gradient_linear_end_get(Eo *obj EINA_UNUSED,
47 Evas_VG_Gradient_Linear_Data *pd, 47 Evas_VG_Gradient_Linear_Data *pd,
48 double *x, double *y) 48 double *x, double *y)
49{ 49{
50 if (x) *x = pd->end.x; 50 if (x) *x = pd->end.x;
51 if (y) *y = pd->end.y; 51 if (y) *y = pd->end.y;
@@ -72,10 +72,10 @@ _evas_vg_gradient_linear_render_pre(Eo *obj,
72 ector_renderer_origin_set(nd->x, nd->y), 72 ector_renderer_origin_set(nd->x, nd->y),
73 ector_renderer_color_set(nd->r, nd->g, nd->b, nd->a), 73 ector_renderer_color_set(nd->r, nd->g, nd->b, nd->a),
74 ector_renderer_visibility_set(nd->visibility), 74 ector_renderer_visibility_set(nd->visibility),
75 efl_graphics_gradient_stop_set(gd->colors, gd->colors_count), 75 efl_gfx_gradient_stop_set(gd->colors, gd->colors_count),
76 efl_graphics_gradient_spread_set(gd->s), 76 efl_gfx_gradient_spread_set(gd->s),
77 efl_graphics_gradient_linear_start_set(pd->start.x, pd->start.y), 77 efl_gfx_gradient_linear_start_set(pd->start.x, pd->start.y),
78 efl_graphics_gradient_linear_end_set(pd->end.x, pd->end.y), 78 efl_gfx_gradient_linear_end_set(pd->end.x, pd->end.y),
79 ector_renderer_prepare()); 79 ector_renderer_prepare());
80} 80}
81 81