aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkClipStack.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkClipStack.h')
-rw-r--r--src/core/SkClipStack.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/SkClipStack.h b/src/core/SkClipStack.h
index 2f24d69502..080712dfe3 100644
--- a/src/core/SkClipStack.h
+++ b/src/core/SkClipStack.h
@@ -353,6 +353,9 @@ public:
BoundsType* boundType,
bool* isIntersectionOfRects = NULL) const;
+ SkRect bounds(const SkIRect& deviceBounds) const;
+ bool isEmpty(const SkIRect& deviceBounds) const;
+
/**
* Returns true if the input (r)rect in device space is entirely contained
* by the clip. A return value of false does not guarantee that the (r)rect