43 references to TextRenderingHint
System.Drawing (8)
commonui\System\Drawing\Advanced\Gdiplus.cs (2)
2036
internal static extern int GdipSetTextRenderingHint(HandleRef graphics,
TextRenderingHint
textRenderingHint);
2084
internal static extern int GdipGetTextRenderingHint(HandleRef graphics, out
TextRenderingHint
textRenderingHint);
commonui\System\Drawing\Graphics.cs (5)
568
public
TextRenderingHint
TextRenderingHint {
570
TextRenderingHint
hint = 0;
582
if (!ClientUtils.IsEnumValid(value, unchecked((int)value), (int)
TextRenderingHint
.SystemDefault, unchecked((int)
TextRenderingHint
.ClearTypeGridFit)))
584
throw new InvalidEnumArgumentException("value", unchecked((int)value), typeof(
TextRenderingHint
));
commonui\System\Drawing\Printing\PreviewPrintController.cs (1)
150
graphics.TextRenderingHint =
TextRenderingHint
.AntiAlias;
System.Web.DataVisualization (11)
Common\ChartTypes\StackedColumnChart.cs (1)
1218
if (graph.TextRenderingHint !=
TextRenderingHint
.AntiAlias)
Common\General\Chart.cs (7)
1659
internal
TextRenderingHint
GetTextRenderingHint()
1661
TextRenderingHint
result =
TextRenderingHint
.SingleBitPerPixelGridFit;
1664
result =
TextRenderingHint
.ClearTypeGridFit;
1667
result =
TextRenderingHint
.AntiAlias;
1671
result =
TextRenderingHint
.SystemDefault;
1676
result =
TextRenderingHint
.SingleBitPerPixelGridFit;
Common\General\ChartRenderingEngine.cs (1)
769
internal
TextRenderingHint
TextRenderingHint
Common\General\GdiGraphics.cs (1)
668
public
TextRenderingHint
TextRenderingHint
Common\General\IChartRenderingEngine.cs (1)
517
TextRenderingHint
TextRenderingHint {get; set;}
System.Windows.Forms (7)
misc\GDI\WindowsFont.cs (6)
573
case
TextRenderingHint
.ClearTypeGridFit:
584
case
TextRenderingHint
.AntiAliasGridFit:
587
case
TextRenderingHint
.AntiAlias:
590
case
TextRenderingHint
.SingleBitPerPixelGridFit:
593
case
TextRenderingHint
.SingleBitPerPixel:
597
case
TextRenderingHint
.SystemDefault:
winforms\Managed\System\WinForms\ToolStripRenderer.cs (1)
941
textGraphics.TextRenderingHint =
TextRenderingHint
.AntiAlias;
System.Windows.Forms.DataVisualization (10)
Common\ChartTypes\StackedColumnChart.cs (1)
1218
if (graph.TextRenderingHint !=
TextRenderingHint
.AntiAlias)
Common\General\Chart.cs (7)
1659
internal
TextRenderingHint
GetTextRenderingHint()
1661
TextRenderingHint
result =
TextRenderingHint
.SingleBitPerPixelGridFit;
1664
result =
TextRenderingHint
.ClearTypeGridFit;
1667
result =
TextRenderingHint
.AntiAlias;
1671
result =
TextRenderingHint
.SystemDefault;
1676
result =
TextRenderingHint
.SingleBitPerPixelGridFit;
Common\General\ChartRenderingEngine.cs (1)
769
internal
TextRenderingHint
TextRenderingHint
Common\General\GdiGraphics.cs (1)
668
public
TextRenderingHint
TextRenderingHint
System.Workflow.ComponentModel (6)
AuthoringOM\Design\DesignerHelpers.cs (3)
115
TextRenderingHint
oldTextHint = graphics.TextRenderingHint;
116
graphics.TextRenderingHint = (textQuality == TextQuality.AntiAliased) ?
TextRenderingHint
.AntiAlias :
TextRenderingHint
.SystemDefault;
AuthoringOM\Design\DesignerWidgets.cs (3)
1268
graphics.TextRenderingHint = System.Drawing.Text.
TextRenderingHint
.AntiAlias;
1876
e.Graphics.TextRenderingHint = System.Drawing.Text.
TextRenderingHint
.AntiAlias;
1935
graphics.TextRenderingHint = System.Drawing.Text.
TextRenderingHint
.AntiAlias;
System.WorkflowServices (1)
System\Workflow\ComponentModel\Design\HighlightOverlayGlyph.cs (1)
55
graphics.TextRenderingHint = System.Drawing.Text.
TextRenderingHint
.AntiAlias;