commit | edc743a57657107b873ed2fc2efeeff1b1efcd23 | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Wed Jun 01 09:42:31 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jun 01 09:42:31 2016 -0700 |
tree | 2d1b1434a60ef274d5a05e06c316dcfdf9a397fb | |
parent | 1e305ba0d6a4237020d36234e9e286d3b0489401 [diff] |
Add SkPathPriv::IsSimpleClosedRect This function looks for "simple" rect paths. Simple here means begins and ends at a corner and is closed (either manually or with a close verb). Unlike SkPath::isRect this returns the starting point index (using the same start indexing scheme as SkPath::addRect). GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2017313002 Review-Url: https://codereview.chromium.org/2017313002