we were defaulting to intersect all the time (doh).
git-svn-id: http://skia.googlecode.com/svn/trunk@3980
2bbb7eff-a529-9590-31e7-
b0007b416f81
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);
// todo: signal fClipStack that we have a region, and therefore (I guess)
// we have to ignore it, and use the region directly?
- fClipStack.clipDevRect(rgn.getBounds());
+ fClipStack.clipDevRect(rgn.getBounds(), op);
return fMCRec->fRasterClip->op(rgn, op);
}