Index: src/pathops/SkOpContour.h |
diff --git a/src/pathops/SkOpContour.h b/src/pathops/SkOpContour.h |
index 1225416eaa6c6e2378ab928861eba563d18aaa47..7ef68b03773bd7f5febd763c91fd4e5c1141ce5a 100644 |
--- a/src/pathops/SkOpContour.h |
+++ b/src/pathops/SkOpContour.h |
@@ -192,6 +192,15 @@ public: |
return fTail->pts()[SkPathOpsVerbToPoints(fTail->verb())]; |
} |
+ bool findCollapsed() { |
+ SkASSERT(fCount > 0); |
+ SkOpSegment* segment = &fHead; |
+ do { |
+ segment->findCollapsed(); |
+ } while ((segment = segment->next())); |
+ return true; |
+ } |
+ |
SkOpSpan* findSortableTop(SkOpContour* ); |
SkOpSegment* first() { |