Index: src/pathops/SkOpSegment.h |
diff --git a/src/pathops/SkOpSegment.h b/src/pathops/SkOpSegment.h |
index 7e5e644f1d3929d162ad7e34b207a461126accb9..bfaf4ed9de88d5ac46e5e5a7c0489da082e2a41e 100644 |
--- a/src/pathops/SkOpSegment.h |
+++ b/src/pathops/SkOpSegment.h |
@@ -130,6 +130,11 @@ public: |
return fTs[index].fOther; |
} |
+ // was used only by right angle winding finding |
+ SkPoint ptAtT(double mid) const { |
+ return (*CurvePointAtT[SkPathOpsVerbToPoints(fVerb)])(fPts, mid); |
+ } |
+ |
const SkPoint* pts() const { |
return fPts; |
} |
@@ -214,11 +219,6 @@ public: |
return span->fPt; |
} |
- // used only by right angle winding finding |
- SkPoint xyAtT(double mid) const { |
- return (*CurvePointAtT[SkPathOpsVerbToPoints(fVerb)])(fPts, mid); |
- } |
- |
const SkPoint& xyAtT(int index) const { |
return xyAtT(&fTs[index]); |
} |
@@ -394,6 +394,7 @@ private: |
return value < 0 ? '?' : value <= 9 ? '0' + value : '+'; |
} |
#endif |
+ void debugValidate() const; |
const SkPoint* fPts; |
SkPathOpsBounds fBounds; |