Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1268)

Unified Diff: gfx/canvas_skia_linux.cc

Issue 5522007: ChromeOS status text halo polish. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address davemoore's comment Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/status/status_area_button.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gfx/canvas_skia_linux.cc
diff --git a/gfx/canvas_skia_linux.cc b/gfx/canvas_skia_linux.cc
index e07929bcc1b019ddfee72edc4ec7038f4bfa1f53..903c99f79da72e9b7f783b063047c320b333191d 100644
--- a/gfx/canvas_skia_linux.cc
+++ b/gfx/canvas_skia_linux.cc
@@ -278,6 +278,7 @@ void DrawStringContext::DrawWithHalo(const SkColor& text_color,
SkColorGetB(halo_color) / 255.0,
SkColorGetA(halo_color) / 255.0);
cairo_set_line_width(text_cr, 2.0);
+ cairo_set_line_join(text_cr, CAIRO_LINE_JOIN_ROUND);
cairo_stroke_preserve(text_cr);
cairo_set_operator(text_cr, CAIRO_OPERATOR_SOURCE);
« no previous file with comments | « chrome/browser/chromeos/status/status_area_button.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698