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:38:04 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:38:04 +0200
commit600e69d226e8cdb960fb88e4d30a0af5d4277cd1 (patch)
treebcab354f8db8b9aae6e8fa4dca19d8e1c9d0c9b3 /src/lib/evas/canvas/evas_vg_gradient_linear.c
parentc1836b97edd63f65f5e655faa18d61b4e745326c (diff)
evas: implements efl_vg_bound_get in all Efl.VG object.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_gradient_linear.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_gradient_linear.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_vg_gradient_linear.c b/src/lib/evas/canvas/evas_vg_gradient_linear.c
index 8c152dac66..dee38f4ca4 100644
--- a/src/lib/evas/canvas/evas_vg_gradient_linear.c
+++ b/src/lib/evas/canvas/evas_vg_gradient_linear.c
@@ -110,6 +110,13 @@ _efl_vg_gradient_linear_eo_base_destructor(Eo *obj, Efl_VG_Gradient_Linear_Data
110static Eina_Bool 110static Eina_Bool
111_efl_vg_gradient_linear_efl_vg_base_bound_get(Eo *obj, Efl_VG_Gradient_Linear_Data *pd, Eina_Rectangle *r) 111_efl_vg_gradient_linear_efl_vg_base_bound_get(Eo *obj, Efl_VG_Gradient_Linear_Data *pd, Eina_Rectangle *r)
112{ 112{
113 Efl_VG_Base_Data *nd;
114
115 nd = eo_data_scope_get(obj, EFL_VG_BASE_CLASS);
116 EINA_RECTANGLE_SET(r,
117 nd->x + pd->start.x, nd->y + pd->start.y,
118 pd->end.x - pd->start.x, pd->end.y - pd->start.x);
119 return EINA_TRUE;
113} 120}
114 121
115EAPI void 122EAPI void