Efl.Canvas.Vg.Object: Fix wrong render area 81/236281/2
authorJunsuChoi <jsuya.choi@samsung.com>
Tue, 16 Jun 2020 04:10:25 +0000 (13:10 +0900)
committerjunsu choi <jsuya.choi@samsung.com>
Tue, 16 Jun 2020 06:11:19 +0000 (06:11 +0000)
commitd44368a1af4e290a97f9041f8405345e91ee430b
treee05e5313e1bcc75a7fd4fd1091d28f36b528c471
parent9bdece513141883f19ed5683b0cbc6bc940f2cee
Efl.Canvas.Vg.Object: Fix wrong render area

Summary:
When determining the size of the ector buffer,
it was used the smaller of the object's geometry or path_bounds.
However, because of that, path worked as absolute coordinates.
path_bounds should be relative to geometry of object.

Test Plan:
{F3900444}
original
{F3900445}

before
+ evas_object_geometry_set(vg, 100, 100, 200, 200);
{F3900447}

after
+ evas_object_geometry_set(vg, 100, 100, 200, 200);
{F3900448}

Reviewers: Hermet, kimcinoo, herb, smohanty

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11974

Change-Id: Id190aeb88735be0b9cbb5f60879c6a8a63eb33e7
src/lib/evas/canvas/efl_canvas_vg_object.c