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