28 references to CompositingQuality
System.Drawing (1)
System.Drawing.cs (1)
25[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Drawing2D.CompositingQuality))]
System.Drawing.Common (1)
Special\NotSupported.cs (1)
437public System.Drawing.Drawing2D.CompositingQuality CompositingQuality { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
System.Drawing.Common.Tests (26)
mono\System.Drawing\GraphicsTests.cs (13)
110Assert.Equal(CompositingQuality.Default, g.CompositingQuality); 126g.CompositingQuality = CompositingQuality.GammaCorrected; 137Assert.Equal(CompositingQuality.GammaCorrected, g.CompositingQuality); 289g.CompositingQuality = CompositingQuality.GammaCorrected; 302g.CompositingQuality = CompositingQuality.Default; 315Assert.Equal(CompositingQuality.GammaCorrected, g.CompositingQuality); 329Assert.Equal(CompositingQuality.Default, g.CompositingQuality); 911AssertEquals(message + ".CompositingQuality", CompositingQuality.Default, g.CompositingQuality); 926AssertEquals(message + ".CompositingQuality", CompositingQuality.HighQuality, g.CompositingQuality); 959g.CompositingQuality = CompositingQuality.HighQuality; 992g.CompositingQuality = CompositingQuality.HighQuality; 1026g.CompositingQuality = CompositingQuality.HighQuality; 1107g.CompositingQuality = CompositingQuality.HighQuality;
System\Drawing\GraphicsTests.cs (13)
381yield return new object[] { CompositingQuality.AssumeLinear, basicExpectedColors }; 382yield return new object[] { CompositingQuality.Default, basicExpectedColors }; 383yield return new object[] { CompositingQuality.HighSpeed, basicExpectedColors }; 384yield return new object[] { CompositingQuality.Invalid, basicExpectedColors }; 392yield return new object[] { CompositingQuality.GammaCorrected, gammaCorrectedColors }; 393yield return new object[] { CompositingQuality.HighQuality, gammaCorrectedColors }; 398public void CompositingQuality_Set_GetReturnsExpected(CompositingQuality quality, Color[][] expectedIntersectionColor) 417[InlineData(CompositingQuality.Invalid - 1)] 418[InlineData(CompositingQuality.AssumeLinear + 1)] 419public void CompositingQuality_SetInvalid_ThrowsInvalidEnumArgumentException(CompositingQuality compositingQuality) 435Assert.Throws<InvalidOperationException>(() => graphics.CompositingQuality = CompositingQuality.AssumeLinear); 451AssertExtensions.Throws<ArgumentException>(null, () => graphics.CompositingQuality = CompositingQuality.AssumeLinear); 2804Assert.Equal(CompositingQuality.Default, graphics.CompositingQuality);