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)
116Assert.Equal(SmoothingMode.None, g.SmoothingMode); 132g.SmoothingMode = SmoothingMode.AntiAlias; 143Assert.Equal(SmoothingMode.AntiAlias, g.SmoothingMode); 296g.SmoothingMode = SmoothingMode.AntiAlias; 309g.SmoothingMode = SmoothingMode.None; 321Assert.Equal(SmoothingMode.AntiAlias, g.SmoothingMode); 335Assert.Equal(SmoothingMode.None, g.SmoothingMode); 916AssertEquals(message + ".SmoothingMode", SmoothingMode.None, g.SmoothingMode); 932AssertEquals(message + ".SmoothingMode", SmoothingMode.AntiAlias, g.SmoothingMode); 966g.SmoothingMode = SmoothingMode.AntiAlias; 999g.SmoothingMode = SmoothingMode.AntiAlias; 1033g.SmoothingMode = SmoothingMode.AntiAlias; 1114g.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)
119g.SmoothingMode = SmoothingMode.AntiAlias;