21 references to Millimeter
System.Drawing.Common.Tests (19)
mono\System.Drawing\GraphicsTests.cs (2)
1003
GraphicsContainer gc = g.BeginContainer(new Rectangle(10, 20, 30, 40), new Rectangle(10, 20, 300, 400), GraphicsUnit.
Millimeter
);
1065
BeginContainer_GraphicsUnit(GraphicsUnit.
Millimeter
);
System\Drawing\Drawing2D\GraphicsPathTests.cs (1)
1782
graphics.PageUnit = GraphicsUnit.
Millimeter
;
System\Drawing\FontConverterTests.cs (1)
237
[InlineData("Millimeter", GraphicsUnit.
Millimeter
)]
System\Drawing\FontTests.cs (13)
134
yield return new object[] { FontFamily.GenericSansSerif, 3, GraphicsUnit.
Millimeter
};
174
yield return new object[] { FontFamily.GenericSansSerif, 3, FontStyle.Regular, GraphicsUnit.
Millimeter
};
178
yield return new object[] { FontFamily.GenericSerif, 16, (FontStyle)int.MinValue, GraphicsUnit.
Millimeter
};
179
yield return new object[] { FontFamily.GenericSerif, 16, (FontStyle)int.MaxValue, GraphicsUnit.
Millimeter
};
216
yield return new object[] { FontFamily.GenericSansSerif, 3, FontStyle.Regular, GraphicsUnit.
Millimeter
, 255 };
220
yield return new object[] { FontFamily.GenericSerif, 16, (FontStyle)int.MinValue, GraphicsUnit.
Millimeter
, 127 };
221
yield return new object[] { FontFamily.GenericSerif, 16, (FontStyle)int.MaxValue, GraphicsUnit.
Millimeter
, 200 };
258
yield return new object[] { FontFamily.GenericSansSerif, 3, FontStyle.Regular, GraphicsUnit.
Millimeter
, 255, true };
262
yield return new object[] { FontFamily.GenericSerif, 16, (FontStyle)int.MinValue, GraphicsUnit.
Millimeter
, 127, true };
263
yield return new object[] { FontFamily.GenericSerif, 16, (FontStyle)int.MaxValue, GraphicsUnit.
Millimeter
, 200, false };
377
[InlineData(GraphicsUnit.
Millimeter
+ 1)]
425
yield return new object[] { font.Clone(), new Font(family, 10, FontStyle.Italic, GraphicsUnit.
Millimeter
, 10, gdiVerticalFont: true), false };
679
[InlineData(GraphicsUnit.
Millimeter
)]
System\Drawing\GraphicsTests.cs (2)
699
[InlineData(GraphicsUnit.
Millimeter
)]
712
[InlineData(GraphicsUnit.
Millimeter
+ 1)]
System.Windows.Forms.Tests (2)
System\Windows\Forms\AxHostTests.cs (2)
1504
[InlineData(GraphicsUnit.
Millimeter
)]
1565
[InlineData(GraphicsUnit.
Millimeter
)]