21 references to Millimeter
System.Drawing.Common.Tests (19)
mono\System.Drawing\GraphicsTests.cs (2)
1003GraphicsContainer gc = g.BeginContainer(new Rectangle(10, 20, 30, 40), new Rectangle(10, 20, 300, 400), GraphicsUnit.Millimeter); 1065BeginContainer_GraphicsUnit(GraphicsUnit.Millimeter);
System\Drawing\Drawing2D\GraphicsPathTests.cs (1)
1782graphics.PageUnit = GraphicsUnit.Millimeter;
System\Drawing\FontConverterTests.cs (1)
237[InlineData("Millimeter", GraphicsUnit.Millimeter)]
System\Drawing\FontTests.cs (13)
134yield return new object[] { FontFamily.GenericSansSerif, 3, GraphicsUnit.Millimeter }; 174yield return new object[] { FontFamily.GenericSansSerif, 3, FontStyle.Regular, GraphicsUnit.Millimeter }; 178yield return new object[] { FontFamily.GenericSerif, 16, (FontStyle)int.MinValue, GraphicsUnit.Millimeter }; 179yield return new object[] { FontFamily.GenericSerif, 16, (FontStyle)int.MaxValue, GraphicsUnit.Millimeter }; 216yield return new object[] { FontFamily.GenericSansSerif, 3, FontStyle.Regular, GraphicsUnit.Millimeter, 255 }; 220yield return new object[] { FontFamily.GenericSerif, 16, (FontStyle)int.MinValue, GraphicsUnit.Millimeter, 127 }; 221yield return new object[] { FontFamily.GenericSerif, 16, (FontStyle)int.MaxValue, GraphicsUnit.Millimeter, 200 }; 258yield return new object[] { FontFamily.GenericSansSerif, 3, FontStyle.Regular, GraphicsUnit.Millimeter, 255, true }; 262yield return new object[] { FontFamily.GenericSerif, 16, (FontStyle)int.MinValue, GraphicsUnit.Millimeter, 127, true }; 263yield return new object[] { FontFamily.GenericSerif, 16, (FontStyle)int.MaxValue, GraphicsUnit.Millimeter, 200, false }; 377[InlineData(GraphicsUnit.Millimeter + 1)] 425yield 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)]