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)
35
global using TextRenderingHint = System.Drawing.Text.
TextRenderingHint
;
System\Drawing\Graphics.cs (6)
404
public
TextRenderingHint
TextRenderingHint
410
return (
TextRenderingHint
)hint;
414
if (value is <
TextRenderingHint
.SystemDefault or >
TextRenderingHint
.ClearTypeGridFit)
415
throw 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)
923
textGraphics.TextRenderingHint =
TextRenderingHint
.AntiAlias;
System\Windows\Forms\Rendering\TextRenderer.cs (5)
575
TextRenderingHint
.ClearTypeGridFit => FONT_QUALITY.CLEARTYPE_QUALITY,
576
TextRenderingHint
.AntiAliasGridFit or
TextRenderingHint
.AntiAlias => FONT_QUALITY.ANTIALIASED_QUALITY,
577
TextRenderingHint
.SingleBitPerPixelGridFit => FONT_QUALITY.PROOF_QUALITY,
578
TextRenderingHint
.SingleBitPerPixel => FONT_QUALITY.DRAFT_QUALITY,