diff options
Diffstat (limited to 'samplecode/SampleAll.cpp')
| -rw-r--r-- | samplecode/SampleAll.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp index ff8249f0f9..01fbe0f8ec 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); |
