3 references to DrawText
System.Windows.Forms (1)
System\Windows\Forms\Rendering\TextRenderer.cs (1)
392/// <see cref="DrawText(IDeviceContext, ReadOnlySpan{char}, Font?, Rectangle, Color, TextFormatFlags)"/>
System.Windows.Forms.Tests (2)
System\Windows\Forms\TextRendererTests.cs (2)
375TextRenderer.DrawText(mockDeviceContext.Object, "text".AsSpan(), SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.Red, TextFormatFlags.Default); 630() => TextRenderer.DrawText(