29 references to Inch
System.Drawing.Common.Tests (27)
mono\System.Drawing\GraphicsTests.cs (11)
129g.PageUnit = GraphicsUnit.Inch; 140Assert.Equal(GraphicsUnit.Inch, g.PageUnit); 292g.PageUnit = GraphicsUnit.Inch; 318Assert.Equal(GraphicsUnit.Inch, g.PageUnit); 929AssertEquals(message + ".PageUnit", GraphicsUnit.Inch, g.PageUnit); 962g.PageUnit = GraphicsUnit.Inch; 995g.PageUnit = GraphicsUnit.Inch; 1029g.PageUnit = GraphicsUnit.Inch; 1039GraphicsContainer gc = g.BeginContainer(new RectangleF(40, 30, 20, 10), new RectangleF(10, 20, 30, 40), GraphicsUnit.Inch); 1066BeginContainer_GraphicsUnit(GraphicsUnit.Inch); 1110g.PageUnit = GraphicsUnit.Inch;
System\Drawing\FontConverterTests.cs (2)
143{ new Font("Courier", 1.0f, FontStyle.Regular, GraphicsUnit.Inch), 4 }, 236[InlineData("Inch", GraphicsUnit.Inch)]
System\Drawing\FontTests.cs (13)
133yield return new object[] { FontFamily.GenericSerif, 2, GraphicsUnit.Inch }; 173yield return new object[] { FontFamily.GenericSerif, 2, FontStyle.Italic, GraphicsUnit.Inch }; 215yield return new object[] { FontFamily.GenericSerif, 2, FontStyle.Italic, GraphicsUnit.Inch, 1 }; 257yield return new object[] { FontFamily.GenericSerif, 2, FontStyle.Italic, GraphicsUnit.Inch, 1, false }; 395using Font font = new(family, 10, FontStyle.Bold, GraphicsUnit.Inch, 10, gdiVerticalFont: true); 420Font font = new(family, 10, FontStyle.Bold, GraphicsUnit.Inch, 10, gdiVerticalFont: true); 423yield return new object[] { font.Clone(), new Font(family, 10, FontStyle.Bold, GraphicsUnit.Inch, 10, gdiVerticalFont: true), false }; 424yield return new object[] { font.Clone(), new Font(family, 9, FontStyle.Bold, GraphicsUnit.Inch, 10, gdiVerticalFont: true), false }; 426yield return new object[] { font.Clone(), new Font(family, 10, FontStyle.Bold, GraphicsUnit.Inch, 9, gdiVerticalFont: true), false }; 427yield return new object[] { font.Clone(), new Font(family, 10, FontStyle.Bold, GraphicsUnit.Inch, 10, gdiVerticalFont: false), false }; 678[InlineData(GraphicsUnit.Inch)] 827using Font font = new(family, 10, FontStyle.Bold, GraphicsUnit.Inch, 10, gdiVerticalFont: true); 852using Font font = new(family, 10, FontStyle.Bold, GraphicsUnit.Inch, 10, gdiVerticalFont: true);
System\Drawing\GraphicsTests.cs (1)
698[InlineData(GraphicsUnit.Inch)]
System.Windows.Forms.Tests (2)
System\Windows\Forms\AxHostTests.cs (2)
1503[InlineData(GraphicsUnit.Inch)] 1564[InlineData(GraphicsUnit.Inch)]