36 references to GenericSerif
System.Drawing.Common.Tests (36)
mono\System.Drawing\GraphicsTests.cs (1)
2014
using Font font = new(FontFamily.
GenericSerif
, 11.0f);
System\Drawing\FontFamilyTests.cs (2)
140
using FontFamily fontFamily1 = FontFamily.
GenericSerif
;
141
using FontFamily fontFamily2 = FontFamily.
GenericSerif
;
System\Drawing\FontTests.cs (33)
14
yield return new object[] { FontFamily.
GenericSerif
, float.MaxValue };
20
yield return new object[] { FontFamily.
GenericSerif
, float.MaxValue };
26
yield return new object[] { FontFamily.GenericMonospace, FontFamily.
GenericSerif
};
27
yield return new object[] { FontFamily.GenericSansSerif, FontFamily.
GenericSerif
};
91
yield return new object[] { FontFamily.
GenericSerif
, 2, FontStyle.Italic };
93
yield return new object[] { FontFamily.
GenericSerif
, 4, FontStyle.Strikeout };
94
yield return new object[] { FontFamily.
GenericSerif
, float.MaxValue, FontStyle.Underline };
95
yield return new object[] { FontFamily.
GenericSerif
, 16, (FontStyle)(-1) };
96
yield return new object[] { FontFamily.
GenericSerif
, 16, (FontStyle)int.MinValue };
97
yield return new object[] { FontFamily.
GenericSerif
, 16, (FontStyle)int.MaxValue };
133
yield return new object[] { FontFamily.
GenericSerif
, 2, GraphicsUnit.Inch };
135
yield return new object[] { FontFamily.
GenericSerif
, 4, GraphicsUnit.Point };
136
yield return new object[] { FontFamily.
GenericSerif
, float.MaxValue, GraphicsUnit.Pixel };
137
yield return new object[] { FontFamily.
GenericSerif
, 16, GraphicsUnit.World };
173
yield return new object[] { FontFamily.
GenericSerif
, 2, FontStyle.Italic, GraphicsUnit.Inch };
175
yield return new object[] { FontFamily.
GenericSerif
, 4, FontStyle.Strikeout, GraphicsUnit.Point };
176
yield return new object[] { FontFamily.
GenericSerif
, float.MaxValue, FontStyle.Underline, GraphicsUnit.Pixel };
177
yield return new object[] { FontFamily.
GenericSerif
, 16, (FontStyle)(-1), GraphicsUnit.World };
178
yield return new object[] { FontFamily.
GenericSerif
, 16, (FontStyle)int.MinValue, GraphicsUnit.Millimeter };
179
yield return new object[] { FontFamily.
GenericSerif
, 16, (FontStyle)int.MaxValue, GraphicsUnit.Millimeter };
215
yield return new object[] { FontFamily.
GenericSerif
, 2, FontStyle.Italic, GraphicsUnit.Inch, 1 };
217
yield return new object[] { FontFamily.
GenericSerif
, 4, FontStyle.Strikeout, GraphicsUnit.Point, 10 };
218
yield return new object[] { FontFamily.
GenericSerif
, float.MaxValue, FontStyle.Underline, GraphicsUnit.Pixel, 10 };
219
yield return new object[] { FontFamily.
GenericSerif
, 16, (FontStyle)(-1), GraphicsUnit.World, 8 };
220
yield return new object[] { FontFamily.
GenericSerif
, 16, (FontStyle)int.MinValue, GraphicsUnit.Millimeter, 127 };
221
yield return new object[] { FontFamily.
GenericSerif
, 16, (FontStyle)int.MaxValue, GraphicsUnit.Millimeter, 200 };
257
yield return new object[] { FontFamily.
GenericSerif
, 2, FontStyle.Italic, GraphicsUnit.Inch, 1, false };
259
yield return new object[] { FontFamily.
GenericSerif
, 4, FontStyle.Strikeout, GraphicsUnit.Point, 10, false };
260
yield return new object[] { FontFamily.
GenericSerif
, float.MaxValue, FontStyle.Underline, GraphicsUnit.Pixel, 10, true };
261
yield return new object[] { FontFamily.
GenericSerif
, 16, (FontStyle)(-1), GraphicsUnit.World, 8, false };
262
yield return new object[] { FontFamily.
GenericSerif
, 16, (FontStyle)int.MinValue, GraphicsUnit.Millimeter, 127, true };
263
yield return new object[] { FontFamily.
GenericSerif
, 16, (FontStyle)int.MaxValue, GraphicsUnit.Millimeter, 200, false };
314
using FontFamily family = FontFamily.
GenericSerif
;