From: Mira Grudzinska Date: Wed, 7 Apr 2021 21:23:50 +0000 (+0200) Subject: evas vg: fixing the compatibility issue X-Git-Tag: submit/tizen/20210420.103606~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F93%2F256593%2F2;p=platform%2Fupstream%2Fefl.git 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 --- 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; }