Index: src/pathops/SkOpSpan.h |
diff --git a/src/pathops/SkOpSpan.h b/src/pathops/SkOpSpan.h |
index 14bb7120a07248538dd5849bdc0502d861af6aaf..4ba452b8890d2df6c6ef5d9f8b0506aee2cfc869 100644 |
--- a/src/pathops/SkOpSpan.h |
+++ b/src/pathops/SkOpSpan.h |
@@ -426,6 +426,10 @@ public: |
return false; |
} |
+ bool checkAlreadyAdded() const { |
+ return fAlreadyAdded; |
+ } |
+ |
bool clearCoincident() { |
SkASSERT(!final()); |
if (fCoincident == this) { |
@@ -464,7 +468,7 @@ public: |
} |
void init(SkOpSegment* parent, SkOpSpan* prev, double t, const SkPoint& pt); |
- bool insertCoincidence(const SkOpSegment* , bool flipped); |
+ bool insertCoincidence(const SkOpSegment* , bool flipped, bool ordered); |
// Please keep this in sync with debugInsertCoincidence() |
void insertCoincidence(SkOpSpan* coin) { |