From b78403ee85c8c4cf82324b75e99312c0a34085f1 Mon Sep 17 00:00:00 2001 From: Patryk Kaczmarek Date: Fri, 2 Apr 2021 11:27:28 +0200 Subject: [PATCH] evas vg: fix compatiblity issue. evas_vg_shape_current_get() x,y works differently when tvg works, this commit fixes x and y positions as it should be Change-Id: I8953dcfd21767fd7791f5872c0cdd3cb32dce785 --- 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 d8ab13e..1971487 100644 --- a/src/lib/evas/canvas/efl_canvas_vg_shape.c +++ b/src/lib/evas/canvas/efl_canvas_vg_shape.c @@ -1446,7 +1446,7 @@ evas_vg_shape_append_circle(Evas_Vg_Shape *obj, double x, double y, double radiu if (!sd || !sd->shape) return; tvg_shape_append_circle(sd->shape, x, y, radius, radius); - _assign_current_point(sd, NULL, x, y - radius); + _assign_current_point(sd, NULL, x + radius, y); #else efl_gfx_path_append_circle(obj, x, y, radius); #endif -- 2.7.4