aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkOpSegment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathops/SkOpSegment.h')
-rw-r--r--src/pathops/SkOpSegment.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/pathops/SkOpSegment.h b/src/pathops/SkOpSegment.h
index 7e5e644f1d..bfaf4ed9de 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;