DescriptionAdd 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
Committed: https://skia.googlesource.com/skia/+/edc743a57657107b873ed2fc2efeeff1b1efcd23
Patch Set 1 #Patch Set 2 : working #Patch Set 3 : cleanup #
Total comments: 6
Patch Set 4 : Address comments #Patch Set 5 : fix gcc warning #
Messages
Total messages: 16 (9 generated)
|