47 references to GenericMonospace
System.Drawing.Common.Tests (47)
mono\System.Imaging\MetafileTest.cs (1)
286Font test_font = new(FontFamily.GenericMonospace, 12);
System\Drawing\Drawing2D\GraphicsPathTests.cs (19)
995gpi.AddString("mono", FontFamily.GenericMonospace, 0, 10, new Point(10, 10), StringFormat.GenericDefault); 998gpf.AddString("mono", FontFamily.GenericMonospace, 0, 10, new PointF(10f, 10f), StringFormat.GenericDefault); 1007gpi.AddString("mono", FontFamily.GenericMonospace, 0, 10, new Rectangle(10, 10, 10, 10), StringFormat.GenericDefault); 1010gpf.AddString("mono", FontFamily.GenericMonospace, 0, 10, new RectangleF(10f, 10f, 10f, 10f), StringFormat.GenericDefault); 1019gpi.AddString("mono", FontFamily.GenericMonospace, 0, -10, new Point(10, 10), StringFormat.GenericDefault); 1023gpi.AddString("mono", FontFamily.GenericMonospace, 0, -10, new Rectangle(10, 10, 10, 10), StringFormat.GenericDefault); 1026gpf.AddString("mono", FontFamily.GenericMonospace, 0, -10, new PointF(10f, 10f), StringFormat.GenericDefault); 1030gpf.AddString("mono", FontFamily.GenericMonospace, 0, -10, new RectangleF(10f, 10f, 10f, 10f), StringFormat.GenericDefault); 1040gp1.AddString("mono", FontFamily.GenericMonospace, 0, 10, new RectangleF(10f, 10f, 10f, 10f), null); 1043gp2.AddString("mono", FontFamily.GenericMonospace, 0, 10, new RectangleF(10f, 10f, 10f, 10f), StringFormat.GenericDefault); 1046gp3.AddString("mono", FontFamily.GenericMonospace, 0, 10, new RectangleF(10f, 10f, 10f, 10f), StringFormat.GenericTypographic); 1055gpi.AddString(string.Empty, FontFamily.GenericMonospace, 0, 10, new Point(10, 10), StringFormat.GenericDefault); 1058gpi.AddString(string.Empty, FontFamily.GenericMonospace, 0, 10, new PointF(10f, 10f), StringFormat.GenericDefault); 1067gp.AddString(null, FontFamily.GenericMonospace, 0, 10, new Point(10, 10), StringFormat.GenericDefault)); 1069gp.AddString(null, FontFamily.GenericMonospace, 0, 10, new PointF(10f, 10f), StringFormat.GenericDefault)); 1071gp.AddString(null, FontFamily.GenericMonospace, 0, 10, new Rectangle(10, 10, 10, 10), StringFormat.GenericDefault)); 1073gp.AddString(null, FontFamily.GenericMonospace, 0, 10, new RectangleF(10f, 10f, 10f, 10f), StringFormat.GenericDefault)); 1636gp.AddString("mono", FontFamily.GenericMonospace, 0, 10, new Point(20, 20), StringFormat.GenericDefault); 1979gp.AddString("Mono::", FontFamily.GenericMonospace, 0, 10, new Point(10, 10), StringFormat.GenericDefault);
System\Drawing\FontFamilyTests.cs (7)
69FontFamily fontFamily = FontFamily.GenericMonospace; 71yield return new object[] { FontFamily.GenericMonospace, FontFamily.GenericMonospace, true }; 72yield return new object[] { FontFamily.GenericMonospace, FontFamily.GenericSansSerif, false }; 122using FontFamily fontFamily1 = FontFamily.GenericMonospace; 123using FontFamily fontFamily2 = FontFamily.GenericMonospace; 279FontFamily fontFamily = FontFamily.GenericMonospace;
System\Drawing\FontTests.cs (20)
13yield return new object[] { FontFamily.GenericMonospace, 1 }; 19yield return new object[] { FontFamily.GenericMonospace, 1 }; 26yield return new object[] { FontFamily.GenericMonospace, FontFamily.GenericSerif }; 28yield return new object[] { FontFamily.GenericSansSerif, FontFamily.GenericMonospace }; 55Assert.False(FontFamily.GenericMonospace.Equals(nullFamily)); 90yield return new object[] { FontFamily.GenericMonospace, 1, FontStyle.Bold }; 132yield return new object[] { FontFamily.GenericMonospace, 1, GraphicsUnit.Document }; 172yield return new object[] { FontFamily.GenericMonospace, 1, FontStyle.Bold, GraphicsUnit.Document }; 214yield return new object[] { FontFamily.GenericMonospace, 1, FontStyle.Bold, GraphicsUnit.Document, 0 }; 256yield return new object[] { FontFamily.GenericMonospace, 1, FontStyle.Bold, GraphicsUnit.Document, 0, true }; 299using FontFamily family = FontFamily.GenericMonospace; 532using FontFamily family = FontFamily.GenericMonospace; 574using FontFamily family = FontFamily.GenericMonospace; 685using FontFamily family = FontFamily.GenericMonospace; 704using FontFamily family = FontFamily.GenericMonospace; 734using FontFamily family = FontFamily.GenericMonospace; 762using FontFamily family = FontFamily.GenericMonospace; 773using FontFamily family = FontFamily.GenericMonospace; 781using FontFamily family = FontFamily.GenericMonospace; 881using FontFamily family2 = FontFamily.GenericMonospace;