Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop automatically pruning empty segments in RawPath
RawPath used to discard empty segments from lineTo/quadTo/cubicTo. However, it was still possible produce empty segments when transforming a path, and RawPath didn't catch those. This change adds a simple utility, RawPath::pruneEmptySegments(), and passes the responsibility on to the client for using this method when necessary (including after a transform). Diffs= bae069339 Stop automatically pruning empty segments in RawPath (#5557)
- Loading branch information