gradient: Fixed radial gradient setter.
authorMichal Szczecinski <m.szczecinsk@partner.samsung.com>
Wed, 23 Sep 2020 09:41:32 +0000 (11:41 +0200)
committerHermet Park <chuneon.park@samsung.com>
Fri, 25 Sep 2020 05:01:35 +0000 (14:01 +0900)
commit69617dc8b1eae69896a47389b495d476e49741d1
tree89204cd46eaf397629578570c0f3f929646f7fb2
parent8d54977f9161834b3e46775a8c73f58cdd518749
gradient: Fixed radial gradient setter.

Removed check for gradient radius. Because of check, x and y values
was ignored when radius equals 0 and api was not usable
in integration with external libs which sets gradient center and
radius in separeted functions.

Change-Id: I6af9ca489d158636db7f24f971a625b1d1813cb4
src/lib/tvgRadialGradient.cpp