commit | 5e1a24808415df2748822e8082e21a361362cdfe | [log] [tgz] |
---|---|---|
author | caryclark <caryclark@google.com> | Fri Mar 18 04:44:23 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Mar 18 04:44:23 2016 -0700 |
tree | 84ae073681487073f6ed1b0ae3e7f1c84f4ac9ce | |
parent | 05849018c85403a34b88819db1c4bcf713b70a2b [diff] |
allow one zero length dash If the constructed stroke that represents a dash has a single dash of length zero, and the end cap is square or round, draw the cap. The old code initialized the initial dash length to zero, making it ambiguous whether the first length is zero or not. R=robertphillips@google.com BUG=583299 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1805963002 Review URL: https://codereview.chromium.org/1805963002