Index: ui/gfx/canvas.h |
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h |
index 88882fa2f765d1c754655df1e688588615e4124c..96b2b941f51d4544ebdc897f81d1df704823c478 100644 |
--- a/ui/gfx/canvas.h |
+++ b/ui/gfx/canvas.h |
@@ -69,6 +69,11 @@ 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, |
+ |
+ // Specifies the alignment for text rendered with the DrawStringRect method. |
msw
2015/04/01 15:07:17
Let's not add these flags unless they are imminent
|
+ TEXT_ALIGN_TOP = 1 << 10, |
+ TEXT_ALIGN_MIDDLE = 1 << 11, |
+ TEXT_ALIGN_BOTTOM = 1 << 12, |
}; |
// Creates an empty canvas with image_scale of 1x. |