aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/textbloblooper.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-04-14 12:17:27 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-14 12:17:27 -0700
commit9e36c1a9306f052331550dab4728b9875127bfb5 (patch)
treedc081124538053c3d28376cb767527326da74d25 /gm/textbloblooper.cpp
parent8fe8fffdfa7464c6f7da773b8660a2043f4998e0 (diff)
Start canonicalizing color for all A8 textblobs
Diffstat (limited to 'gm/textbloblooper.cpp')
-rw-r--r--gm/textbloblooper.cpp1
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);