Made "Clip" sample use AA clipping
http://codereview.appspot.com/6176046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3834 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
180bc887f1
commit
67a6db3611
@ -147,7 +147,7 @@ protected:
|
||||
canvas->save();
|
||||
for (size_t i = 0; i < SK_ARRAY_COUNT(gProc); ++i) {
|
||||
canvas->save();
|
||||
canvas->clipPath(clipPath, SkRegion::kIntersect_Op, true);
|
||||
canvas->clipPath(clipPath, SkRegion::kIntersect_Op, SkToBool(aa));
|
||||
// canvas->drawColor(SK_ColorWHITE);
|
||||
gProc[i](canvas, SkToBool(aa));
|
||||
canvas->restore();
|
||||
|
Loading…
Reference in New Issue
Block a user