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)
899[InlineData(SmoothingMode.AntiAlias, SmoothingMode.AntiAlias)] 900[InlineData(SmoothingMode.Default, SmoothingMode.None)] 901[InlineData(SmoothingMode.HighQuality, SmoothingMode.AntiAlias)] 902[InlineData(SmoothingMode.HighSpeed, SmoothingMode.None)] 903[InlineData(SmoothingMode.None, SmoothingMode.None)] 904public void SmoothingMode_SetValid_GetReturnsExpected(SmoothingMode smoothingMode, SmoothingMode expectedSmoothingMode) 913[InlineData(SmoothingMode.Invalid - 1)] 914[InlineData(SmoothingMode.AntiAlias + 1)] 915public void SmoothingMode_SetInvalid_ThrowsInvalidEnumArgumentException(SmoothingMode smoothingMode) 927AssertExtensions.Throws<ArgumentException>(null, () => graphics.SmoothingMode = SmoothingMode.Invalid); 939Assert.Throws<InvalidOperationException>(() => graphics.SmoothingMode = SmoothingMode.AntiAlias); 955AssertExtensions.Throws<ArgumentException>(null, () => graphics.SmoothingMode = SmoothingMode.AntiAlias); 2814Assert.Equal(SmoothingMode.None, graphics.SmoothingMode);
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
118g.SmoothingMode = SmoothingMode.AntiAlias;