15 references to TextRenderingHint
System.Drawing (1)
System.Drawing.cs (1)
164[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Text.TextRenderingHint))]
System.Drawing.Common (8)
GlobalUsings.cs (1)
35global using TextRenderingHint = System.Drawing.Text.TextRenderingHint;
System\Drawing\Graphics.cs (6)
404public TextRenderingHint TextRenderingHint 410return (TextRenderingHint)hint; 414if (value is < TextRenderingHint.SystemDefault or > TextRenderingHint.ClearTypeGridFit) 415throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(TextRenderingHint)); 1881/// the <see cref="Graphics"/> is <see cref="TextRenderingHint.AntiAlias"/>.
System\Drawing\Printing\PreviewPrintController.cs (1)
95_graphics.TextRenderingHint = TextRenderingHint.AntiAlias;
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
923textGraphics.TextRenderingHint = TextRenderingHint.AntiAlias;
System\Windows\Forms\Rendering\TextRenderer.cs (5)
575TextRenderingHint.ClearTypeGridFit => FONT_QUALITY.CLEARTYPE_QUALITY, 576TextRenderingHint.AntiAliasGridFit or TextRenderingHint.AntiAlias => FONT_QUALITY.ANTIALIASED_QUALITY, 577TextRenderingHint.SingleBitPerPixelGridFit => FONT_QUALITY.PROOF_QUALITY, 578TextRenderingHint.SingleBitPerPixel => FONT_QUALITY.DRAFT_QUALITY,