diff options
Diffstat (limited to 'src/pathops/SkIntersections.cpp')
-rw-r--r-- | src/pathops/SkIntersections.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/pathops/SkIntersections.cpp b/src/pathops/SkIntersections.cpp index 53cd6feb43..c8b4b838e4 100644 --- a/src/pathops/SkIntersections.cpp +++ b/src/pathops/SkIntersections.cpp @@ -152,20 +152,6 @@ void SkIntersections::quickRemoveOne(int index, int replace) { } } -#if 0 -void SkIntersections::remove(double one, double two, const SkDPoint& startPt, - const SkDPoint& endPt) { - for (int index = fUsed - 1; index >= 0; --index) { - if (!(fIsCoincident[0] & (1 << index)) && (between(one, fT[fSwap][index], two) - || startPt.approximatelyEqual(fPt[index]) - || endPt.approximatelyEqual(fPt[index]))) { - SkASSERT(fUsed > 0); - removeOne(index); - } - } -} -#endif - void SkIntersections::removeOne(int index) { int remaining = --fUsed - index; if (remaining <= 0) { |