SvgLoader: Modify calculation formula of linear gradient matrix
authorJunsuChoi <jsuya.choi@samsung.com>
Thu, 10 Sep 2020 10:00:16 +0000 (19:00 +0900)
committerHermet Park <chuneon.park@samsung.com>
Thu, 10 Sep 2020 10:11:44 +0000 (19:11 +0900)
commite185f4b1082a4b9fb123ad787fa1501b47c37566
tree5533b7306fc18c95f00e018504b13f1c5360e32d
parent08b3dbfbd6de3b7868ddc1781c1adf2a73334a30
SvgLoader: Modify calculation formula of linear gradient matrix

When there is a matrix of linear gradient, the applied formula is this.
= T(x - cx, y - cy) x g->transform x T(cx, cy)
This patch has modified this formula to work properly.

Change-Id: I861b796f5c0b375a318e444446eff82a0e922e8a
src/loaders/svg/tvgSvgSceneBuilder.cpp