projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83ca628
)
turn on antialiased text
author
caryclark
<caryclark@google.com>
Wed, 10 Jun 2015 17:34:08 +0000
(10:34 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Wed, 10 Jun 2015 17:34:08 +0000
(10:34 -0700)
Aliased text didn't work with msaa16, so make it all
antialiased.
TBR=reed@google.com
Review URL: https://codereview.chromium.org/
1169173006
gm/aaxfermodes.cpp
patch
|
blob
|
history
diff --git
a/gm/aaxfermodes.cpp
b/gm/aaxfermodes.cpp
index
750b423
..
378f2bb
100644
(file)
--- a/
gm/aaxfermodes.cpp
+++ b/
gm/aaxfermodes.cpp
@@
-67,9
+67,7
@@
protected:
}
void onOnceBeforeDraw() override {
-#if 0
fLabelPaint.setAntiAlias(true);
-#endif
sk_tool_utils::set_portable_typeface_always(&fLabelPaint);
fLabelPaint.setTextSize(5 * kShapeSize/8);
fLabelPaint.setSubpixelText(true);