sw_engine: fix the inproper stroke raster. 40/291440/1
authorHermet Park <hermetpark@gmail.com>
Wed, 5 Apr 2023 16:10:36 +0000 (01:10 +0900)
committerjykeon <jykeon@samsung.com>
Mon, 17 Apr 2023 03:15:51 +0000 (12:15 +0900)
commit9028d2a7074d63c53774dfe67eab232fe658c13e
treed0afb186b585414edd6c38f11ff2378cd2300777
parenta41ebf99a6e6c352d619c1009162c85f8173de51
sw_engine: fix the inproper stroke raster.

We have an incorrect value comparison when the stroke corner center
is adjusted. All coordinates in the stroke raster have been scaled by
the given values (sx, sy), while the stroke width remains at its
original size due to it not being clear how it should be scaled.

This brings wierd rendering results at times. Now fix it.

@Issue: https://github.com/thorvg/thorvg/issues/1336

Change-Id: If7a76a5fe5ddb52292903b68cfde951f95e3e5f2
Signed-off-by: jykeon <jykeon@samsung.com>
src/lib/sw_engine/tvgSwStroke.cpp