evas vg: fix compatibility issue. 18/256418/1
authorHermet Park <chuneon.park@samsung.com>
Fri, 2 Apr 2021 07:48:36 +0000 (16:48 +0900)
committerHermet Park <chuneon.park@samsung.com>
Fri, 2 Apr 2021 07:48:36 +0000 (16:48 +0900)
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

index 247c7fa..1932331 100644 (file)
@@ -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