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

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: fixes Created 4 years, 7 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 328292aee0c35ef7ed41a9cc2134deb5b5b496d5..d97946575fa2384ac4894cbdd3916102d5e7bb25 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