26 writes to SmoothingMode
System.Drawing.Common.Tests (12)
mono\System.Drawing\GraphicsTests.cs (7)
129g.SmoothingMode = SmoothingMode.AntiAlias; 293g.SmoothingMode = SmoothingMode.AntiAlias; 306g.SmoothingMode = SmoothingMode.None; 963g.SmoothingMode = SmoothingMode.AntiAlias; 996g.SmoothingMode = SmoothingMode.AntiAlias; 1030g.SmoothingMode = SmoothingMode.AntiAlias; 1111g.SmoothingMode = SmoothingMode.AntiAlias;
System\Drawing\GraphicsTests.cs (5)
909graphics.SmoothingMode = smoothingMode; 920AssertExtensions.Throws<InvalidEnumArgumentException>("value", () => graphics.SmoothingMode = smoothingMode); 928AssertExtensions.Throws<ArgumentException>(null, () => graphics.SmoothingMode = SmoothingMode.Invalid); 940Assert.Throws<InvalidOperationException>(() => graphics.SmoothingMode = SmoothingMode.AntiAlias); 956AssertExtensions.Throws<ArgumentException>(null, () => graphics.SmoothingMode = SmoothingMode.AntiAlias);
System.Windows.Forms (13)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeAdapter.cs (6)
35g.SmoothingMode = Drawing.Drawing2D.SmoothingMode.AntiAlias; 57g.SmoothingMode = smoothingMode; 73g.SmoothingMode = Drawing.Drawing2D.SmoothingMode.AntiAlias; 94g.SmoothingMode = smoothingMode; 110g.SmoothingMode = Drawing.Drawing2D.SmoothingMode.AntiAlias; 131g.SmoothingMode = smoothingMode;
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\FlatButtonDarkModeRenderer.cs (2)
82g.SmoothingMode = SmoothingMode.AntiAlias; 99g.SmoothingMode = SmoothingMode.AntiAlias;
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\PopupButtonDarkModeRenderer.cs (2)
133graphics.SmoothingMode = SmoothingMode.AntiAlias; 220graphics.SmoothingMode = originalMode;
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\SystemButtonDarkModeRenderer.cs (1)
176graphics.SmoothingMode = SmoothingMode.AntiAlias;
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (2)
1072g.SmoothingMode = SmoothingMode.AntiAlias; 1116g.SmoothingMode = oldSmoothing;
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
118g.SmoothingMode = SmoothingMode.AntiAlias;
15 references to SmoothingMode
System.Drawing.Common.Tests (10)
mono\System.Drawing\GraphicsTests.cs (6)
113Assert.Equal(SmoothingMode.None, g.SmoothingMode); 140Assert.Equal(SmoothingMode.AntiAlias, g.SmoothingMode); 318Assert.Equal(SmoothingMode.AntiAlias, g.SmoothingMode); 332Assert.Equal(SmoothingMode.None, g.SmoothingMode); 913AssertEquals(message + ".SmoothingMode", SmoothingMode.None, g.SmoothingMode); 929AssertEquals(message + ".SmoothingMode", SmoothingMode.AntiAlias, g.SmoothingMode);
System\Drawing\GraphicsTests.cs (4)
910Assert.Equal(expectedSmoothingMode, graphics.SmoothingMode); 939Assert.Throws<InvalidOperationException>(() => graphics.SmoothingMode); 955AssertExtensions.Throws<ArgumentException>(null, () => graphics.SmoothingMode); 2815Assert.Equal(SmoothingMode.None, graphics.SmoothingMode);
System.Windows.Forms (5)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeAdapter.cs (3)
34var smoothingMode = g.SmoothingMode; 72var smoothingMode = g.SmoothingMode; 109var smoothingMode = g.SmoothingMode;
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\PopupButtonDarkModeRenderer.cs (1)
129SmoothingMode originalMode = graphics.SmoothingMode;
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
1071SmoothingMode oldSmoothing = g.SmoothingMode;