commit | a17411f056cca6875910a4588f8596ed88e75b7c | [log] [tgz] |
---|---|---|
author | fmalita <fmalita@chromium.org> | Wed Sep 14 10:14:08 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Sep 14 10:14:08 2016 -0700 |
tree | 2687b4abb37551e5cef600cb5f8ac2cd514ca97b | |
parent | f605c16a030d791a37f589e6bddd7158ba5d62cd [diff] |
Improved optional command handling in SkParsePath::FromSVGString() Repeating command letters are optional in SVG path data strings: https://www.w3.org/TR/SVG/paths.html#PathData FromSVGString() already supports this feature, but only checks for scalars prefixes == (digit | '-' | '+'). A decimal point is also a valid scalar prefix though, so it should be included in the test. R=caryclark@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2339813003 Review-Url: https://codereview.chromium.org/2339813003