Index: src/pathops/SkPathOpsRect.cpp |
diff --git a/src/pathops/SkPathOpsRect.cpp b/src/pathops/SkPathOpsRect.cpp |
index 2ceed32900a3f3b97c329696e854e5b0aca735f0..5dd3d8def5d0c2d295408450d2d22aeb8f40bf48 100644 |
--- a/src/pathops/SkPathOpsRect.cpp |
+++ b/src/pathops/SkPathOpsRect.cpp |
@@ -9,11 +9,6 @@ |
#include "SkPathOpsQuad.h" |
#include "SkPathOpsRect.h" |
-void SkDRect::setBounds(const SkDLine& line) { |
- set(line[0]); |
- add(line[1]); |
-} |
- |
void SkDRect::setBounds(const SkDQuad& quad) { |
set(quad[0]); |
add(quad[2]); |
@@ -30,13 +25,6 @@ void SkDRect::setBounds(const SkDQuad& quad) { |
} |
} |
-void SkDRect::setRawBounds(const SkDQuad& quad) { |
- set(quad[0]); |
- for (int x = 1; x < 3; ++x) { |
- add(quad[x]); |
- } |
-} |
- |
static bool is_bounded_by_end_points(double a, double b, double c, double d) { |
return between(a, b, d) && between(a, c, d); |
} |
@@ -56,10 +44,3 @@ void SkDRect::setBounds(const SkDCubic& c) { |
add(c.ptAtT(tValues[x])); |
} |
} |
- |
-void SkDRect::setRawBounds(const SkDCubic& cubic) { |
- set(cubic[0]); |
- for (int x = 1; x < 4; ++x) { |
- add(cubic[x]); |
- } |
-} |