tvg_saver: fix the incorrect stroke transformation
authorHermet Park <chuneon.park@samsung.com>
Tue, 7 Sep 2021 05:34:04 +0000 (14:34 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Wed, 8 Sep 2021 08:11:43 +0000 (17:11 +0900)
commitca61d0890a8255e9be6c2a4ea280b9ed7d503fba
treeb2cc9328069cf38310fdf0ea15c686719ec7f650
parent55a108e13e9a2eb95cef609d989a6c0cd3bd8585
tvg_saver: fix the incorrect stroke transformation

Saver tries to pre-transfom to skip the matrix data,
but it missed the case - transformed stroking,

we skip it also only when xy scaling factors are same excluding the dash properties,
because scaled of the stroking is depent on the engines,
we have no idea of the proper input data in advance.

@Issues: https://github.com/Samsung/thorvg/issues/773
src/savers/tvg/tvgTvgSaver.cpp
src/savers/tvg/tvgTvgSaver.h