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:03 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:23:03 +0200
commit502ac459162589e95c57fa0ede376159044d4278 (patch)
treef883d8544c0b5c6e7b67c7b686be83b2fee496e0 /src/lib/evas/canvas/evas_vg_gradient_linear.c
parentefl: add efl_graphics_path_interpolate and efl_graphics_path_equal_commands. (diff)
downloadefl-502ac459162589e95c57fa0ede376159044d4278.tar.gz
evas: properly propagate Eina_Matrix from the VG scene graph to the Ector_Renderer.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_gradient_linear.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_gradient_linear.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_vg_gradient_linear.c b/src/lib/evas/canvas/evas_vg_gradient_linear.c
index 156a5851ed..5d0af64eb9 100644
--- a/src/lib/evas/canvas/evas_vg_gradient_linear.c
+++ b/src/lib/evas/canvas/evas_vg_gradient_linear.c
@@ -53,12 +53,14 @@ _evas_vg_gradient_linear_efl_graphics_gradient_linear_end_get(Eo *obj EINA_UNUSE
static void
_evas_vg_gradient_linear_render_pre(Eo *obj,
+ Eina_Matrix3 *parent,
Ector_Surface *s,
void *data,
Evas_VG_Node_Data *nd)
{
Evas_VG_Gradient_Linear_Data *pd = data;
Evas_VG_Gradient_Data *gd = eo_data_scope_get(obj, EVAS_VG_GRADIENT_CLASS);
+ EVAS_VG_COMPUTE_MATRIX(current, parent, nd);
if (!nd->renderer)
{
@@ -66,7 +68,7 @@ _evas_vg_gradient_linear_render_pre(Eo *obj,
}
eo_do(nd->renderer,
- ector_renderer_transformation_set(nd->m),
+ ector_renderer_transformation_set(current),
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),