diff options
author | 2012-07-31 19:15:58 +0000 | |
---|---|---|
committer | 2012-07-31 19:15:58 +0000 | |
commit | 641f8b19a6799b6d73ac17b9c2d2f8a5e6f5ad4d (patch) | |
tree | 0c916a12d18cc86343d601811a34229898a8c7f7 /include/core | |
parent | 4b2af9c91d39c2176a32e7ba42a0276dca68034a (diff) |
Replace GrClip with SkClipStack
http://codereview.appspot.com/6449070/
git-svn-id: http://skia.googlecode.com/svn/trunk@4865 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkClipStack.h | 4 |
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, |