pathops work in progress
BUG=
Review URL: https://codereview.chromium.org/52653002
git-svn-id: http://skia.googlecode.com/svn/trunk@12089 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/pathops/SkOpContour.h b/src/pathops/SkOpContour.h
index a4ec6d3..6b412e5 100644
--- a/src/pathops/SkOpContour.h
+++ b/src/pathops/SkOpContour.h
@@ -152,6 +152,11 @@
}
}
+ void joinCoincidence() {
+ joinCoincidence(fCoincidences, false);
+ joinCoincidence(fPartialCoincidences, true);
+ }
+
SkOpSegment* nonVerticalSegment(int* start, int* end);
bool operand() const {
@@ -239,7 +244,8 @@
#endif
private:
- void calcCommonCoincidentWinding(const SkCoincidence& coincidence);
+ void calcCommonCoincidentWinding(const SkCoincidence& );
+ void joinCoincidence(const SkTArray<SkCoincidence, true>& , bool partial);
void setBounds();
SkTArray<SkOpSegment> fSegments;