21 writes to TextRenderingHint
System.Drawing.Common.Tests (12)
mono\System.Drawing\GraphicsTests.cs (7)
131
g.
TextRenderingHint
= TextRenderingHint.SystemDefault;
295
g.
TextRenderingHint
= TextRenderingHint.ClearTypeGridFit;
308
g.
TextRenderingHint
= TextRenderingHint.SystemDefault;
966
g.
TextRenderingHint
= TextRenderingHint.AntiAlias;
999
g.
TextRenderingHint
= TextRenderingHint.AntiAlias;
1033
g.
TextRenderingHint
= TextRenderingHint.AntiAlias;
1114
g.
TextRenderingHint
= TextRenderingHint.AntiAlias;
System\Drawing\FontTests.cs (1)
738
graphics.
TextRenderingHint
= textRenderingHint;
System\Drawing\GraphicsTests.cs (4)
1019
graphics.
TextRenderingHint
= textRenderingHint;
1030
AssertExtensions.Throws<InvalidEnumArgumentException>("value", () => graphics.
TextRenderingHint
= textRenderingHint);
1042
Assert.Throws<InvalidOperationException>(() => graphics.
TextRenderingHint
= TextRenderingHint.SingleBitPerPixelGridFit);
1058
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
TextRenderingHint
= TextRenderingHint.SingleBitPerPixelGridFit);
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
881
textGraphics.
TextRenderingHint
= TextRenderingHint.AntiAlias;
System.Windows.Forms.Tests (8)
System\Windows\Forms\TextRendererTests.cs (8)
37
graphics.
TextRenderingHint
= textRenderingHint;
71
graphics.
TextRenderingHint
= textRenderingHint;
108
graphics.
TextRenderingHint
= textRenderingHint;
149
graphics.
TextRenderingHint
= textRenderingHint;
181
graphics.
TextRenderingHint
= textRenderingHint;
217
graphics.
TextRenderingHint
= textRenderingHint;
257
graphics.
TextRenderingHint
= textRenderingHint;
301
graphics.
TextRenderingHint
= textRenderingHint;
11 references to TextRenderingHint
System.Drawing.Common.Tests (10)
mono\System.Drawing\GraphicsTests.cs (6)
115
Assert.Equal(TextRenderingHint.SystemDefault, g.
TextRenderingHint
);
142
Assert.Equal(TextRenderingHint.SystemDefault, g.
TextRenderingHint
);
320
Assert.Equal(TextRenderingHint.ClearTypeGridFit, g.
TextRenderingHint
);
334
Assert.Equal(TextRenderingHint.SystemDefault, g.
TextRenderingHint
);
916
AssertEquals(message + ".TextRenderingHint", TextRenderingHint.SystemDefault, g.
TextRenderingHint
);
932
AssertEquals(message + ".TextRenderingHint", TextRenderingHint.AntiAlias, g.
TextRenderingHint
);
System\Drawing\GraphicsTests.cs (4)
1020
Assert.Equal(textRenderingHint, graphics.
TextRenderingHint
);
1041
Assert.Throws<InvalidOperationException>(() => graphics.
TextRenderingHint
);
1057
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
TextRenderingHint
);
2816
Assert.Equal(TextRenderingHint.SystemDefault, graphics.
TextRenderingHint
);
System.Windows.Forms (1)
System\Windows\Forms\Rendering\TextRenderer.cs (1)
573
return g.
TextRenderingHint
switch