38 references to DT_BOTTOM
System.Windows.Forms (3)
System\Windows\Forms\Rendering\TextExtensions.cs (2)
161
bool isTop = !flags.HasFlag(DRAW_TEXT_FORMAT.
DT_BOTTOM
) && !flags.HasFlag(DRAW_TEXT_FORMAT.DT_VCENTER);
255
dt &= ~(DRAW_TEXT_FORMAT.
DT_BOTTOM
| DRAW_TEXT_FORMAT.DT_VCENTER);
System\Windows\Forms\Rendering\TextFormatFlags.cs (1)
14
Bottom = (int)DRAW_TEXT_FORMAT.
DT_BOTTOM
,
System.Windows.Forms.Tests (35)
Text\FontMetrics.cs (35)
94
{ "Arial", 9.0f, new Size(-1, -1), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(173, 15) },
95
{ "Arial", 12.0f, new Size(-1, -1), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(215, 18) },
96
{ "Microsoft Sans Serif", 16.0f, new Size(-1, -1), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(299, 26) },
97
{ "Times New Roman", 11.0f, new Size(-1, -1), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(179, 17) },
98
{ "MS Gothic", 10.0f, new Size(-1, -1), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(189, 14) },
99
{ "Arial", 9.0f, new Size(0, 0), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(173, 15) },
100
{ "Arial", 12.0f, new Size(0, 0), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(215, 18) },
101
{ "Microsoft Sans Serif", 16.0f, new Size(0, 0), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(299, 26) },
102
{ "Times New Roman", 11.0f, new Size(0, 0), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(179, 17) },
103
{ "MS Gothic", 10.0f, new Size(0, 0), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(189, 14) },
104
{ "Arial", 9.0f, new Size(1, 1), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(173, 15) },
105
{ "Arial", 12.0f, new Size(1, 1), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(215, 18) },
106
{ "Microsoft Sans Serif", 16.0f, new Size(1, 1), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(299, 26) },
107
{ "Times New Roman", 11.0f, new Size(1, 1), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(179, 17) },
108
{ "MS Gothic", 10.0f, new Size(1, 1), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(189, 14) },
109
{ "Arial", 9.0f, new Size(300, 300), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(173, 15) },
110
{ "Arial", 12.0f, new Size(300, 300), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(215, 18) },
111
{ "Microsoft Sans Serif", 16.0f, new Size(300, 300), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(299, 26) },
112
{ "Times New Roman", 11.0f, new Size(300, 300), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(179, 17) },
113
{ "MS Gothic", 10.0f, new Size(300, 300), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(189, 14) },
114
{ "Arial", 9.0f, new Size(int.MaxValue, int.MaxValue), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(173, 15) },
115
{ "Arial", 12.0f, new Size(int.MaxValue, int.MaxValue), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(215, 18) },
116
{ "Microsoft Sans Serif", 16.0f, new Size(int.MaxValue, int.MaxValue), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(299, 26) },
117
{ "Times New Roman", 11.0f, new Size(int.MaxValue, int.MaxValue), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(179, 17) },
118
{ "MS Gothic", 10.0f, new Size(int.MaxValue, int.MaxValue), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Size(189, 14) },
158
{ "Arial", 9.0f, new Rectangle(1, 1, 1, 1), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Rectangle(1, 1, 1, 1) },
159
{ "Arial", 12.0f, new Rectangle(1, 1, 1, 1), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Rectangle(1, 1, 1, 1) },
160
{ "Microsoft Sans Serif", 16.0f, new Rectangle(1, 1, 1, 1), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Rectangle(1, 1, 1, 1) },
161
{ "Times New Roman", 11.0f, new Rectangle(1, 1, 1, 1), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Rectangle(1, 1, 1, 1) },
162
{ "MS Gothic", 10.0f, new Rectangle(1, 1, 1, 1), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Rectangle(1, 1, 1, 1) },
163
{ "Arial", 9.0f, new Rectangle(1, 1, 100, 100), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Rectangle(1, 86, 100, 100) },
164
{ "Arial", 12.0f, new Rectangle(1, 1, 100, 100), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Rectangle(1, 83, 100, 100) },
165
{ "Microsoft Sans Serif", 16.0f, new Rectangle(1, 1, 100, 100), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Rectangle(1, 75, 100, 100) },
166
{ "Times New Roman", 11.0f, new Rectangle(1, 1, 100, 100), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Rectangle(1, 84, 100, 100) },
167
{ "MS Gothic", 10.0f, new Rectangle(1, 1, 100, 100), (uint)DRAW_TEXT_FORMAT.
DT_BOTTOM
, new Rectangle(1, 87, 100, 100) },