From fb4b44773131f03ab54926cf684ac661dfceb185 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Fri, 2 Apr 2021 16:48:36 +0900 Subject: [PATCH] evas vg: fix compatibility issue. evas_vg_shape_current_get() y position is changed after tvg works, this fixes its y position which is supposed to be. Change-Id: Iaecb3bdb7c16a8ca018e940ef0ad1c6ef3ec9343 --- 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 247c7fa..1932331 100644 --- a/src/lib/evas/canvas/efl_canvas_vg_shape.c +++ b/src/lib/evas/canvas/efl_canvas_vg_shape.c @@ -1481,7 +1481,7 @@ evas_vg_shape_append_rect(Evas_Vg_Shape *obj, double x, double y, double w, doub if (!sd || !sd->shape) return; tvg_shape_append_rect(sd->shape, x, y, w, h, rx, ry); - _assign_current_point(sd, NULL, x, y); + _assign_current_point(sd, NULL, x, y + ry); #else efl_gfx_path_append_rect(obj, x, y, w, h, rx, ry); #endif -- 2.7.4