29 references to Inch
System.Drawing.Common.Tests (27)
mono\System.Drawing\GraphicsTests.cs (11)
129
g.PageUnit = GraphicsUnit.
Inch
;
140
Assert.Equal(GraphicsUnit.
Inch
, g.PageUnit);
292
g.PageUnit = GraphicsUnit.
Inch
;
318
Assert.Equal(GraphicsUnit.
Inch
, g.PageUnit);
929
AssertEquals(message + ".PageUnit", GraphicsUnit.
Inch
, g.PageUnit);
962
g.PageUnit = GraphicsUnit.
Inch
;
995
g.PageUnit = GraphicsUnit.
Inch
;
1029
g.PageUnit = GraphicsUnit.
Inch
;
1039
GraphicsContainer gc = g.BeginContainer(new RectangleF(40, 30, 20, 10), new RectangleF(10, 20, 30, 40), GraphicsUnit.
Inch
);
1066
BeginContainer_GraphicsUnit(GraphicsUnit.
Inch
);
1110
g.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)
133
yield return new object[] { FontFamily.GenericSerif, 2, GraphicsUnit.
Inch
};
173
yield return new object[] { FontFamily.GenericSerif, 2, FontStyle.Italic, GraphicsUnit.
Inch
};
215
yield return new object[] { FontFamily.GenericSerif, 2, FontStyle.Italic, GraphicsUnit.
Inch
, 1 };
257
yield return new object[] { FontFamily.GenericSerif, 2, FontStyle.Italic, GraphicsUnit.
Inch
, 1, false };
395
using Font font = new(family, 10, FontStyle.Bold, GraphicsUnit.
Inch
, 10, gdiVerticalFont: true);
420
Font font = new(family, 10, FontStyle.Bold, GraphicsUnit.
Inch
, 10, gdiVerticalFont: true);
423
yield return new object[] { font.Clone(), new Font(family, 10, FontStyle.Bold, GraphicsUnit.
Inch
, 10, gdiVerticalFont: true), false };
424
yield return new object[] { font.Clone(), new Font(family, 9, FontStyle.Bold, GraphicsUnit.
Inch
, 10, gdiVerticalFont: true), false };
426
yield return new object[] { font.Clone(), new Font(family, 10, FontStyle.Bold, GraphicsUnit.
Inch
, 9, gdiVerticalFont: true), false };
427
yield return new object[] { font.Clone(), new Font(family, 10, FontStyle.Bold, GraphicsUnit.
Inch
, 10, gdiVerticalFont: false), false };
678
[InlineData(GraphicsUnit.
Inch
)]
827
using Font font = new(family, 10, FontStyle.Bold, GraphicsUnit.
Inch
, 10, gdiVerticalFont: true);
852
using 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
)]