aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkRRect.h
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-30 17:39:43 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-30 17:39:43 +0000
commit4db592c4085afed2be27a208d778f9ee13e671ab (patch)
tree552cc422fc26f9e5db0386410ecf2fded67c0227 /include/core/SkRRect.h
parent4e5559af8947ae7dc3df531b6d7a73323db20c3f (diff)
remove contains(x,y) for rects and rrects ... not well defined, and unused
BUG= R=robertphillips@google.com Review URL: https://codereview.chromium.org/51953003 git-svn-id: http://skia.googlecode.com/svn/trunk@12022 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkRRect.h')
-rw-r--r--include/core/SkRRect.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/core/SkRRect.h b/include/core/SkRRect.h
index 32d62856bc..402e6c6c4b 100644
--- a/include/core/SkRRect.h
+++ b/include/core/SkRRect.h
@@ -199,30 +199,6 @@ public:
}
/**
- * Returns true if (p.fX,p.fY) is inside the RR, and the RR
- * is not empty.
- *
- * Contains treats the left and top differently from the right and bottom.
- * The left and top coordinates of the RR are themselves considered
- * to be inside, while the right and bottom are not. All the points on the
- * edges of the corners are considered to be inside.
- */
- bool contains(const SkPoint& p) const {
- return contains(p.fX, p.fY);
- }
-
- /**
- * Returns true if (x,y) is inside the RR, and the RR
- * is not empty.
- *
- * Contains treats the left and top differently from the right and bottom.
- * The left and top coordinates of the RR are themselves considered
- * to be inside, while the right and bottom are not. All the points on the
- * edges of the corners are considered to be inside.
- */
- bool contains(SkScalar x, SkScalar y) const;
-
- /**
* Call inset on the bounds, and adjust the radii to reflect what happens
* in stroking: If the corner is sharp (no curvature), leave it alone,
* otherwise we grow/shrink the radii by the amount of the inset. If a