From a84ddbde7714eeed6924d5f9334df46b2702eb63 Mon Sep 17 00:00:00 2001 From: Mira Grudzinska Date: Mon, 29 Mar 2021 00:18:32 +0200 Subject: [PATCH] evas vg: fix the final stroke color in the interpolation process When ThorVG used, the final stroke color in the interpolation was the same as the initial one. Change-Id: I24ef66ab1964f36942a393f9c81eb62a2cb3e09d --- src/lib/evas/canvas/efl_canvas_vg_shape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/evas/canvas/efl_canvas_vg_shape.c b/src/lib/evas/canvas/efl_canvas_vg_shape.c index 1569e7f..c4d9b15 100644 --- a/src/lib/evas/canvas/efl_canvas_vg_shape.c +++ b/src/lib/evas/canvas/efl_canvas_vg_shape.c @@ -440,7 +440,7 @@ _shape_properties_interpolate(Evas_Vg_Shape *obj, // Stroke - color tvg_shape_get_stroke_color(sd_from->shape, (uint8_t*)&r, (uint8_t*)&g, (uint8_t*)&b, (uint8_t*)&a); - tvg_shape_get_stroke_color(sd_from->shape, (uint8_t*)&to_r, (uint8_t*)&to_g, (uint8_t*)&to_b, (uint8_t*)&to_a); + tvg_shape_get_stroke_color(sd_to->shape, (uint8_t*)&to_r, (uint8_t*)&to_g, (uint8_t*)&to_b, (uint8_t*)&to_a); a = _interpolate(a, to_a, pos_map); r = _interpolate(r, to_r, pos_map); g = _interpolate(g, to_g, pos_map); -- 2.7.4