filter text frame bitmaps
This commit is contained in:
parent
97bc565a5c
commit
f81f21c9f9
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue