21 references to GenericDefault
System.Drawing.Common.Tests (20)
System\Drawing\Drawing2D\GraphicsPathTests.cs (18)
995
gpi.AddString("mono", FontFamily.GenericMonospace, 0, 10, new Point(10, 10), StringFormat.
GenericDefault
);
998
gpf.AddString("mono", FontFamily.GenericMonospace, 0, 10, new PointF(10f, 10f), StringFormat.
GenericDefault
);
1007
gpi.AddString("mono", FontFamily.GenericMonospace, 0, 10, new Rectangle(10, 10, 10, 10), StringFormat.
GenericDefault
);
1010
gpf.AddString("mono", FontFamily.GenericMonospace, 0, 10, new RectangleF(10f, 10f, 10f, 10f), StringFormat.
GenericDefault
);
1019
gpi.AddString("mono", FontFamily.GenericMonospace, 0, -10, new Point(10, 10), StringFormat.
GenericDefault
);
1023
gpi.AddString("mono", FontFamily.GenericMonospace, 0, -10, new Rectangle(10, 10, 10, 10), StringFormat.
GenericDefault
);
1026
gpf.AddString("mono", FontFamily.GenericMonospace, 0, -10, new PointF(10f, 10f), StringFormat.
GenericDefault
);
1030
gpf.AddString("mono", FontFamily.GenericMonospace, 0, -10, new RectangleF(10f, 10f, 10f, 10f), StringFormat.
GenericDefault
);
1043
gp2.AddString("mono", FontFamily.GenericMonospace, 0, 10, new RectangleF(10f, 10f, 10f, 10f), StringFormat.
GenericDefault
);
1055
gpi.AddString(string.Empty, FontFamily.GenericMonospace, 0, 10, new Point(10, 10), StringFormat.
GenericDefault
);
1058
gpi.AddString(string.Empty, FontFamily.GenericMonospace, 0, 10, new PointF(10f, 10f), StringFormat.
GenericDefault
);
1067
gp.AddString(null, FontFamily.GenericMonospace, 0, 10, new Point(10, 10), StringFormat.
GenericDefault
));
1069
gp.AddString(null, FontFamily.GenericMonospace, 0, 10, new PointF(10f, 10f), StringFormat.
GenericDefault
));
1071
gp.AddString(null, FontFamily.GenericMonospace, 0, 10, new Rectangle(10, 10, 10, 10), StringFormat.
GenericDefault
));
1073
gp.AddString(null, FontFamily.GenericMonospace, 0, 10, new RectangleF(10f, 10f, 10f, 10f), StringFormat.
GenericDefault
));
1081
new GraphicsPath().AddString("mono", null, 0, 10, new Point(10, 10), StringFormat.
GenericDefault
));
1636
gp.AddString("mono", FontFamily.GenericMonospace, 0, 10, new Point(20, 20), StringFormat.
GenericDefault
);
1979
gp.AddString("Mono::", FontFamily.GenericMonospace, 0, 10, new Point(10, 10), StringFormat.
GenericDefault
);
System\Drawing\StringFormatTests.cs (2)
392
StringFormat format = StringFormat.
GenericDefault
;
393
Assert.NotSame(format, StringFormat.
GenericDefault
);
WinFormsControlsTest (1)
ListBoxes.cs (1)
47
e.Font, customBrush, e.Bounds, StringFormat.
GenericDefault
);