aboutsummaryrefslogtreecommitdiffstats
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
parentefl: add a parser for SVG data path that generate EFL Path. (diff)
downloadefl-c000ee80994c701bfab5836fcc41f6756c02b8ed.tar.gz
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
};
static void
-_evas_vg_gradient_linear_efl_graphics_gradient_linear_start_set(Eo *obj EINA_UNUSED,
- Evas_VG_Gradient_Linear_Data *pd,
- double x, double y)
+_evas_vg_gradient_linear_efl_gfx_gradient_linear_start_set(Eo *obj EINA_UNUSED,
+ Evas_VG_Gradient_Linear_Data *pd,
+ double x, double y)
{
pd->start.x = x;
pd->start.y = y;
}
static void
-_evas_vg_gradient_linear_efl_graphics_gradient_linear_start_get(Eo *obj EINA_UNUSED,
- Evas_VG_Gradient_Linear_Data *pd,
- double *x, double *y)
+_evas_vg_gradient_linear_efl_gfx_gradient_linear_start_get(Eo *obj EINA_UNUSED,
+ Evas_VG_Gradient_Linear_Data *pd,
+ double *x, double *y)
{
if (x) *x = pd->start.x;
if (y) *y = pd->start.y;
}
static void
-_evas_vg_gradient_linear_efl_graphics_gradient_linear_end_set(Eo *obj EINA_UNUSED,
- Evas_VG_Gradient_Linear_Data *pd,
- double x, double y)
+_evas_vg_gradient_linear_efl_gfx_gradient_linear_end_set(Eo *obj EINA_UNUSED,
+ Evas_VG_Gradient_Linear_Data *pd,
+ double x, double y)
{
pd->end.x = x;
pd->end.y = y;
}
static void
-_evas_vg_gradient_linear_efl_graphics_gradient_linear_end_get(Eo *obj EINA_UNUSED,
- Evas_VG_Gradient_Linear_Data *pd,
- double *x, double *y)
+_evas_vg_gradient_linear_efl_gfx_gradient_linear_end_get(Eo *obj EINA_UNUSED,
+ Evas_VG_Gradient_Linear_Data *pd,
+ double *x, double *y)
{
if (x) *x = pd->end.x;
if (y) *y = pd->end.y;
@@ -72,10 +72,10 @@ _evas_vg_gradient_linear_render_pre(Eo *obj,
ector_renderer_origin_set(nd->x, nd->y),
ector_renderer_color_set(nd->r, nd->g, nd->b, nd->a),
ector_renderer_visibility_set(nd->visibility),
- efl_graphics_gradient_stop_set(gd->colors, gd->colors_count),
- efl_graphics_gradient_spread_set(gd->s),
- efl_graphics_gradient_linear_start_set(pd->start.x, pd->start.y),
- efl_graphics_gradient_linear_end_set(pd->end.x, pd->end.y),
+ efl_gfx_gradient_stop_set(gd->colors, gd->colors_count),
+ efl_gfx_gradient_spread_set(gd->s),
+ efl_gfx_gradient_linear_start_set(pd->start.x, pd->start.y),
+ efl_gfx_gradient_linear_end_set(pd->end.x, pd->end.y),
ector_renderer_prepare());
}