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)
108Assert.Equal(CompositingQuality.Default, g.CompositingQuality); 124g.CompositingQuality = CompositingQuality.GammaCorrected; 135Assert.Equal(CompositingQuality.GammaCorrected, g.CompositingQuality); 287g.CompositingQuality = CompositingQuality.GammaCorrected; 300g.CompositingQuality = CompositingQuality.Default; 313Assert.Equal(CompositingQuality.GammaCorrected, g.CompositingQuality); 327Assert.Equal(CompositingQuality.Default, g.CompositingQuality); 909AssertEquals(message + ".CompositingQuality", CompositingQuality.Default, g.CompositingQuality); 924AssertEquals(message + ".CompositingQuality", CompositingQuality.HighQuality, g.CompositingQuality); 957g.CompositingQuality = CompositingQuality.HighQuality; 990g.CompositingQuality = CompositingQuality.HighQuality; 1024g.CompositingQuality = CompositingQuality.HighQuality; 1105g.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);