Index: src/pathops/SkOpSegment.h |
diff --git a/src/pathops/SkOpSegment.h b/src/pathops/SkOpSegment.h |
index 1b7aad199ce5011b61b1a790b1f50d160c2d2688..a1b5477a4e457fb93abc9e826e8e5b07827694a1 100644 |
--- a/src/pathops/SkOpSegment.h |
+++ b/src/pathops/SkOpSegment.h |
@@ -108,6 +108,7 @@ public: |
void calcAngles(); |
bool collapsed() const; |
+ bool collapsed(double startT, double endT) const; |
static void ComputeOneSum(const SkOpAngle* baseAngle, SkOpAngle* nextAngle, |
SkOpAngle::IncludeType ); |
static void ComputeOneSumReverse(SkOpAngle* baseAngle, SkOpAngle* nextAngle, |
@@ -128,7 +129,9 @@ public: |
} |
void debugAddAngle(double startT, double endT); |
- const SkOpPtT* debugAddT(double t) const; |
+#if DEBUG_COINCIDENCE_VERBOSE |
+ const SkOpPtT* debugAddT(double t, const char* id, SkPathOpsDebug::GlitchLog* ) const; |
+#endif |
const SkOpAngle* debugAngle(int id) const; |
#if DEBUG_ANGLE |
void debugCheckAngleCoin() const; |
@@ -139,7 +142,7 @@ public: |
void debugClearOne(const SkOpSpan* span, const char* id, SkPathOpsDebug::GlitchLog* glitches) const; |
#endif |
const SkOpCoincidence* debugCoincidence() const; |
- SkOpContour* debugContour(int id); |
+ SkOpContour* debugContour(int id) const; |
int debugID() const { |
return SkDEBUGRELEASE(fID, -1); |