Index: samplecode/SampleAll.cpp |
diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp |
index ff8249f0f9feea378d320fbb1590f3b5caedc181..01fbe0f8ec45fd112f11d6eb5a23da11d10fd1e6 100644 |
--- a/samplecode/SampleAll.cpp |
+++ b/samplecode/SampleAll.cpp |
@@ -392,7 +392,8 @@ protected: |
canvas->save(); |
canvas->translate(SkIntToScalar(0), SkIntToScalar(5)); |
- paint.setFlags(SkPaint::kAntiAlias_Flag | SkPaint::kFilterBitmap_Flag); |
+ paint.setAntiAlias(true); |
+ paint.setFilterLevel(SkPaint::kLow_FilterLevel); |
// !!! draw through a clip |
paint.setColor(SK_ColorLTGRAY); |
paint.setStyle(SkPaint::kFill_Style); |