don't convert clipPath -> clipRect if the path is inverse-filled
git-svn-id: http://skia.googlecode.com/svn/trunk@6734 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
7c9d539d88
commit
907ef6c702
@ -360,7 +360,7 @@ bool SkPictureRecord::clipRect(const SkRect& rect, SkRegion::Op op, bool doAA) {
|
||||
bool SkPictureRecord::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) {
|
||||
|
||||
SkRect r;
|
||||
if (path.isRect(&r)) {
|
||||
if (!path.isInverseFillType() && path.isRect(&r)) {
|
||||
return this->clipRect(r, op, doAA);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user