35 references to SmoothingMode
System.Drawing (1)
System.Drawing.cs (1)
53[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Drawing2D.SmoothingMode))]
System.Drawing.Common (1)
Special\NotSupported.cs (1)
447public System.Drawing.Drawing2D.SmoothingMode SmoothingMode { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
System.Drawing.Common.Tests (32)
mono\System.Drawing\GraphicsTests.cs (13)
114Assert.Equal(SmoothingMode.None, g.SmoothingMode); 130g.SmoothingMode = SmoothingMode.AntiAlias; 141Assert.Equal(SmoothingMode.AntiAlias, g.SmoothingMode); 294g.SmoothingMode = SmoothingMode.AntiAlias; 307g.SmoothingMode = SmoothingMode.None; 319Assert.Equal(SmoothingMode.AntiAlias, g.SmoothingMode); 333Assert.Equal(SmoothingMode.None, g.SmoothingMode); 914AssertEquals(message + ".SmoothingMode", SmoothingMode.None, g.SmoothingMode); 930AssertEquals(message + ".SmoothingMode", SmoothingMode.AntiAlias, g.SmoothingMode); 964g.SmoothingMode = SmoothingMode.AntiAlias; 997g.SmoothingMode = SmoothingMode.AntiAlias; 1031g.SmoothingMode = SmoothingMode.AntiAlias; 1112g.SmoothingMode = SmoothingMode.AntiAlias;
System\Drawing\GraphicsTests.cs (19)
900[InlineData(SmoothingMode.AntiAlias, SmoothingMode.AntiAlias)] 901[InlineData(SmoothingMode.Default, SmoothingMode.None)] 902[InlineData(SmoothingMode.HighQuality, SmoothingMode.AntiAlias)] 903[InlineData(SmoothingMode.HighSpeed, SmoothingMode.None)] 904[InlineData(SmoothingMode.None, SmoothingMode.None)] 905public void SmoothingMode_SetValid_GetReturnsExpected(SmoothingMode smoothingMode, SmoothingMode expectedSmoothingMode) 914[InlineData(SmoothingMode.Invalid - 1)] 915[InlineData(SmoothingMode.AntiAlias + 1)] 916public void SmoothingMode_SetInvalid_ThrowsInvalidEnumArgumentException(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); 2815Assert.Equal(SmoothingMode.None, graphics.SmoothingMode);
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
118g.SmoothingMode = SmoothingMode.AntiAlias;