Efl.Gfx.Path: Change draw of a rounded rect from arc to quadratic
authorJunsuChoi <jsuya.choi@samsung.com>
Tue, 23 Jun 2020 04:46:43 +0000 (13:46 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 23 Jun 2020 21:34:31 +0000 (06:34 +0900)
commit6d7b5ed3421e176c62285fcbb9b2643074f39555
tree6531a4f4637f56d303a0f7dcdb42b07c38de175a
parent32cee7e22bbaf59122f536e5ade7c22a3835554b
Efl.Gfx.Path: Change draw of a rounded rect from arc to quadratic

Summary:
The rounded rect is a very slightly different shape compared
to chrome's svg output. To solve this, modify to use a quadratic bezier
instead of arc when drawing a round.

Test Plan:
{F3904500}
(Drawing rect with arc or quadratic)

Compare Image
{F3904501}

{F3904502}

Reviewers: Hermet, kimcinoo, herb

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12020
src/lib/efl/interfaces/efl_gfx_path.c