5 references to DrawString
System.Drawing.Common (2)
System\Drawing\Graphics.cs (2)
1611
/// <inheritdoc cref="
DrawString
(string?, Font, Brush, PointF)"/>
1875
/// the <see cref="
DrawString
(string?, Font, Brush, PointF)"/> method adjusts glyph points to optimize display
System.Drawing.Common.Tests (2)
System\Drawing\GraphicsTests.cs (2)
2784
graphics.
DrawString
("Test text", SystemFonts.DefaultFont, Brushes.White, default(Point));
2796
() => graphics.
DrawString
("Test text", SystemFonts.DefaultFont, Brushes.White, default(Point)));
System.Windows.Forms.UI.IntegrationTests (1)
DesignBehaviorsTests.cs (1)
327
pe.Graphics.
DrawString
($"Design time \n{Control.Site?.Name} !", Control.Font, SystemBrushes.WindowText, new PointF(12, 12));