enable subpixel text on the subpixel translate sample
BUG=skia: Review URL: https://codereview.chromium.org/885783006
This commit is contained in:
parent
e702d9743a
commit
f75a130c45
@ -71,6 +71,7 @@ protected:
|
|||||||
|
|
||||||
SkPaint paint;
|
SkPaint paint;
|
||||||
paint.setTextSize(48);
|
paint.setTextSize(48);
|
||||||
|
paint.setSubpixelText(true);
|
||||||
|
|
||||||
paint.setAntiAlias(true);
|
paint.setAntiAlias(true);
|
||||||
for (size_t i = 0; i < SK_ARRAY_COUNT(gLevels); ++i) {
|
for (size_t i = 0; i < SK_ARRAY_COUNT(gLevels); ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user