svg_loader SvgPath: Remove unnecessary optimization code
authorJunsuChoi <jsuya.choi@samsung.com>
Fri, 5 Mar 2021 03:40:18 +0000 (12:40 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Mon, 8 Mar 2021 06:53:30 +0000 (15:53 +0900)
commita0841563633633cf1001db4fb1085ac6c53996be
tree252032102811db104a62c73375defdaa9a2e1766
parent228f904a4ce0168b09a079e798ed83d08b4d0bfd
svg_loader SvgPath: Remove unnecessary optimization code

This condition(optimization) is not a step suggested by arc implementation.
https://www.w3.org/TR/SVG11/implnote.html#ArcCorrectionOutOfRangeRadii (Step2)
This code is useful if the arc is too small to represent.
However, scaling often occurs in vectors, which can create unnecessary problems.

example path
<path d="M32.41,20.49a.41.41,0,1,1-.41-.42A.41.41,0,0,1,32.41,20.49Z" transform="translate(0)" fill="#020202"/>
src/loaders/svg/tvgSvgPath.cpp