diff options
author | 2015-04-14 12:17:27 -0700 | |
---|---|---|
committer | 2015-04-14 12:17:27 -0700 | |
commit | 9e36c1a9306f052331550dab4728b9875127bfb5 (patch) | |
tree | dc081124538053c3d28376cb767527326da74d25 /gm/textbloblooper.cpp | |
parent | 8fe8fffdfa7464c6f7da773b8660a2043f4998e0 (diff) |
Start canonicalizing color for all A8 textblobs
BUG=skia:
Review URL: https://codereview.chromium.org/1076593002
Diffstat (limited to 'gm/textbloblooper.cpp')
-rw-r--r-- | gm/textbloblooper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gm/textbloblooper.cpp b/gm/textbloblooper.cpp index 253945f123..2fbd30b3cf 100644 --- a/gm/textbloblooper.cpp +++ b/gm/textbloblooper.cpp @@ -23,6 +23,7 @@ namespace skiagm { static const int kWidth = 1250; static const int kHeight = 700; +// Unlike the variant in sk_tool_utils, this version positions the glyphs on a diagonal static void add_to_text_blob(SkTextBlobBuilder* builder, const char* text, const SkPaint& origPaint, SkScalar x, SkScalar y) { SkPaint paint(origPaint); |