filter text frame bitmaps

This commit is contained in:
Jindřich Makovička 2012-05-13 18:55:36 +02:00
parent 97bc565a5c
commit f81f21c9f9

View file

@ -468,6 +468,7 @@ void drawTextOverCanvas(RenderingContext* rc, SkCanvas* cv) {
paintIcon.setStyle(SkPaint::kStroke_Style); paintIcon.setStyle(SkPaint::kStroke_Style);
paintIcon.setStrokeWidth(1); paintIcon.setStrokeWidth(1);
paintIcon.setColor(0xff000000); paintIcon.setColor(0xff000000);
paintIcon.setFilterBitmap(true);
SkPaint paintText; SkPaint paintText;
paintText.setStyle(SkPaint::kFill_Style); paintText.setStyle(SkPaint::kFill_Style);
paintText.setStrokeWidth(1); paintText.setStrokeWidth(1);