DescriptionRemove tracking of 'closed subpath' state from SVGPathBuilder
For any implicit moveto (like: "M0,0z L..." it would not do the right
thing (clear m_closed), which could result in unwanted calls to
Path::closeSubpath if a(n explicit) moveto followed. This in turn would
result in rendering errors (the "close" line being stroked that should
not.)
SkPath seems to do a much better job of this already - and Path is just
a thin wrapper around SkPath in these cases - so just drop the
SVGPathBuilder::m_closed flag and leave the work to SkPath.
BUG=578254
Committed: https://crrev.com/7c511917b445472dd0bb5a75600830bce7dadb4f
Cr-Commit-Position: refs/heads/master@{#370168}
Patch Set 1 #
Messages
Total messages: 10 (3 generated)
|