Description[SVG] Paint unnormalized paths
The SkPath API supports all SVG path verbs, so there's no need to
normalize paths when converting to the Skia representation.
Switch buildPathFromString() and buildPathFromByteStream() to unaltered
parsing, and expand SVGPathBuilder to handle the full path vocabulary.
This yields a more natural verb conversion (arcTo, in particular, is no
longer decomposed into cubics), with correctness and perf implications.
BUG=453040
R=fs@opera.com,caryclark@google.com
Committed: https://crrev.com/7003bed16de3861e47d6bb0287ba4d6bffcfea04
Cr-Commit-Position: refs/heads/master@{#371345}
Patch Set 1 #Patch Set 2 : cleanup #Patch Set 3 : let's not forget buildPathFromString #Patch Set 4 : expectations #
Total comments: 10
Patch Set 5 : review comments #Patch Set 6 : missed review comments #
Messages
Total messages: 19 (10 generated)
|