diff options
author | 2012-05-16 18:50:40 +0000 | |
---|---|---|
committer | 2012-05-16 18:50:40 +0000 | |
commit | 115d931d2fbd3a109a21b28c8a9c5099e6c49c54 (patch) | |
tree | dd3b69fab74232ca36f106582b2f62428bd0841e /include/core | |
parent | 20a0477009b654e0143590d9f8fd557e56da5319 (diff) |
pass the region-op to the clipstack for SkCanvas::clipRegion.
we were defaulting to intersect all the time (doh).
git-svn-id: http://skia.googlecode.com/svn/trunk@3980 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkClipStack.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/core/SkClipStack.h b/include/core/SkClipStack.h index 5ad118cb20..709db56a3f 100644 --- a/include/core/SkClipStack.h +++ b/include/core/SkClipStack.h @@ -30,8 +30,7 @@ public: void save(); void restore(); - void clipDevRect(const SkIRect& ir, - SkRegion::Op op = SkRegion::kIntersect_Op) { + void clipDevRect(const SkIRect& ir, SkRegion::Op op) { SkRect r; r.set(ir); this->clipDevRect(r, op, false); |