From 058feefa36cbda2ab9245974f84245bd301f2f18 Mon Sep 17 00:00:00 2001 From: Mira Grudzinska Date: Wed, 7 Apr 2021 23:23:50 +0200 Subject: [PATCH] evas vg: fixing the compatibility issue According to the standard, after applying arc_to the current control point should be equal to the current point. This is fixed in Evas + ThorVG by using the cmd_prev variable, so the value of the current control point, for the compatibility issue, is set to be the same as in Evas. Change-Id: I7f3d6510db85dbd18995f158538c9aea544acc73 --- src/lib/evas/canvas/efl_canvas_vg_shape.c | 1 - 1 file changed, 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 5409afc..6fed124 100644 --- a/src/lib/evas/canvas/efl_canvas_vg_shape.c +++ b/src/lib/evas/canvas/efl_canvas_vg_shape.c @@ -328,7 +328,6 @@ _append_arc_to(Evas_Vg_Shape *obj, double x, double y, var.cos_theta1 = cos_theta2; var.sin_theta1 = sin_theta2; } - _assign_current_ctrl_point(sd, ex, ey); sd->cmd_prev = PATH_CMD_TYPE_NO_BEZIER; } -- 2.7.4