29 references to Inch
System.Drawing.Common.Tests (27)
mono\System.Drawing\GraphicsTests.cs (11)
127g.PageUnit = GraphicsUnit.Inch; 138Assert.Equal(GraphicsUnit.Inch, g.PageUnit); 290g.PageUnit = GraphicsUnit.Inch; 316Assert.Equal(GraphicsUnit.Inch, g.PageUnit); 927AssertEquals(message + ".PageUnit", GraphicsUnit.Inch, g.PageUnit); 960g.PageUnit = GraphicsUnit.Inch; 993g.PageUnit = GraphicsUnit.Inch; 1027g.PageUnit = GraphicsUnit.Inch; 1037GraphicsContainer gc = g.BeginContainer(new RectangleF(40, 30, 20, 10), new RectangleF(10, 20, 30, 40), GraphicsUnit.Inch); 1064BeginContainer_GraphicsUnit(GraphicsUnit.Inch); 1108g.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)]