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