Index: src/pathops/SkOpSpan.h |
diff --git a/src/pathops/SkOpSpan.h b/src/pathops/SkOpSpan.h |
index 3666623fbe0e2b1e07c756ada98f4262163a7723..50c76d2640cd8d33903646e64945d61151c5e446 100644 |
--- a/src/pathops/SkOpSpan.h |
+++ b/src/pathops/SkOpSpan.h |
@@ -12,6 +12,10 @@ |
class SkOpSegment; |
struct SkOpSpan { |
+ enum PointMatch { |
+ kPointIsExact, |
+ kPointIsNear |
+ }; |
SkOpSegment* fOther; |
SkPoint fPt; // computed when the curves are intersected |
double fT; |
@@ -24,8 +28,14 @@ struct SkOpSpan { |
bool fDone; // if set, this span to next higher T has been processed |
bool fUnsortableStart; // set when start is part of an unsortable pair |
bool fUnsortableEnd; // set when end is part of an unsortable pair |
+ bool fSmall; // if set, consecutive points are almost equal |
bool fTiny; // if set, span may still be considered once for edge following |
bool fLoop; // set when a cubic loops back to this point |
+ bool fNear; // set if point is near segment end point |
+ |
+#ifdef SK_DEBUG |
+ void dump() const; |
+#endif |
}; |
#endif |