diff options
Diffstat (limited to 'include/core/SkRRect.h')
-rw-r--r-- | include/core/SkRRect.h | 24 |
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 |