path ops -- make combined clips soft if one is soft
Review URL: https://codereview.chromium.org/14786018 git-svn-id: http://skia.googlecode.com/svn/trunk@9047 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
7f4ad5a30f
commit
96fd3440fa
@ -1268,6 +1268,10 @@ bool SkCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) {
|
||||
} else {
|
||||
Op(devPath, operand, (SkPathOp) elementOp, &devPath);
|
||||
}
|
||||
// if the prev and curr clips disagree about aa -vs- not, favor the aa request.
|
||||
// perhaps we need an API change to avoid this sort of mixed-signals about
|
||||
// clipping.
|
||||
doAA |= element->isAA();
|
||||
}
|
||||
op = SkRegion::kReplace_Op;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user