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