| Index: include/core/SkRect.h
|
| diff --git a/include/core/SkRect.h b/include/core/SkRect.h
|
| index 8e4d669c48279c02c08ede805d43f44c935b9dcd..cafc59afa73684f407057dd749fd42da768039bd 100644
|
| --- a/include/core/SkRect.h
|
| +++ b/include/core/SkRect.h
|
| @@ -692,6 +692,11 @@ public:
|
| return Intersects(fLeft, fTop, fRight, fBottom, left, top, right, bottom);
|
| }
|
|
|
| + bool intersects(const SkRect& r) const {
|
| + return Intersects(fLeft, fTop, fRight, fBottom,
|
| + r.fLeft, r.fTop, r.fRight, r.fBottom);
|
| + }
|
| +
|
| /**
|
| * Return true if rectangles a and b are not empty and intersect.
|
| */
|
|
|