aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkClipStack.h
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-31 19:15:58 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-31 19:15:58 +0000
commit641f8b19a6799b6d73ac17b9c2d2f8a5e6f5ad4d (patch)
tree0c916a12d18cc86343d601811a34229898a8c7f7 /include/core/SkClipStack.h
parent4b2af9c91d39c2176a32e7ba42a0276dca68034a (diff)
Replace GrClip with SkClipStack
Diffstat (limited to 'include/core/SkClipStack.h')
-rw-r--r--include/core/SkClipStack.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/core/SkClipStack.h b/include/core/SkClipStack.h
index c0fadb1ab1..4c79c2f824 100644
--- a/include/core/SkClipStack.h
+++ b/include/core/SkClipStack.h
@@ -25,6 +25,7 @@ public:
SkClipStack();
SkClipStack(const SkClipStack& b);
explicit SkClipStack(const SkRect& r);
+ explicit SkClipStack(const SkIRect& r);
~SkClipStack();
SkClipStack& operator=(const SkClipStack& b);
@@ -182,7 +183,8 @@ public:
* the translation (+offsetX, +offsetY) is applied before the clamp to the
* maximum rectangle: [0,maxWidth) x [0,maxHeight).
* isIntersectionOfRects is an optional parameter that is true when
- * 'bounds' is the result of an intersection of rects.
+ * 'devBounds' is the result of an intersection of rects. In this case
+ * 'devBounds' is the exact answer/clip.
*/
void getConservativeBounds(int offsetX,
int offsetY,