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

Unified Diff: ui/gfx/canvas.h

Issue 1634103003: Fix gfx::Canvas::DrawStringRectWithHalo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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
Index: ui/gfx/canvas.h
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index 311cf38830cac30cb1c455827d542ec853aaab41..b76871cdb81c72298e143b5bbd7d6a1570764a78 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -72,6 +72,9 @@ class GFX_EXPORT Canvas {
// when rendering text onto a fully- or partially-transparent background
// that will later be blended with another image.
NO_SUBPIXEL_RENDERING = 1 << 9,
+
+ // Draw text with 1px border.
+ HALO_EFFECT = 1 << 10,
};
// Creates an empty canvas with image_scale of 1x.

Powered by Google App Engine
This is Rietveld 408576698