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)
437
public 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)
108
Assert.Equal(
CompositingQuality
.Default, g.CompositingQuality);
124
g.CompositingQuality =
CompositingQuality
.GammaCorrected;
135
Assert.Equal(
CompositingQuality
.GammaCorrected, g.CompositingQuality);
287
g.CompositingQuality =
CompositingQuality
.GammaCorrected;
300
g.CompositingQuality =
CompositingQuality
.Default;
313
Assert.Equal(
CompositingQuality
.GammaCorrected, g.CompositingQuality);
327
Assert.Equal(
CompositingQuality
.Default, g.CompositingQuality);
909
AssertEquals(message + ".CompositingQuality",
CompositingQuality
.Default, g.CompositingQuality);
924
AssertEquals(message + ".CompositingQuality",
CompositingQuality
.HighQuality, g.CompositingQuality);
957
g.CompositingQuality =
CompositingQuality
.HighQuality;
990
g.CompositingQuality =
CompositingQuality
.HighQuality;
1024
g.CompositingQuality =
CompositingQuality
.HighQuality;
1105
g.CompositingQuality =
CompositingQuality
.HighQuality;
System\Drawing\GraphicsTests.cs (13)
381
yield return new object[] {
CompositingQuality
.AssumeLinear, basicExpectedColors };
382
yield return new object[] {
CompositingQuality
.Default, basicExpectedColors };
383
yield return new object[] {
CompositingQuality
.HighSpeed, basicExpectedColors };
384
yield return new object[] {
CompositingQuality
.Invalid, basicExpectedColors };
392
yield return new object[] {
CompositingQuality
.GammaCorrected, gammaCorrectedColors };
393
yield return new object[] {
CompositingQuality
.HighQuality, gammaCorrectedColors };
398
public void CompositingQuality_Set_GetReturnsExpected(
CompositingQuality
quality, Color[][] expectedIntersectionColor)
417
[InlineData(
CompositingQuality
.Invalid - 1)]
418
[InlineData(
CompositingQuality
.AssumeLinear + 1)]
419
public void CompositingQuality_SetInvalid_ThrowsInvalidEnumArgumentException(
CompositingQuality
compositingQuality)
435
Assert.Throws<InvalidOperationException>(() => graphics.CompositingQuality =
CompositingQuality
.AssumeLinear);
451
AssertExtensions.Throws<ArgumentException>(null, () => graphics.CompositingQuality =
CompositingQuality
.AssumeLinear);
2804
Assert.Equal(
CompositingQuality
.Default, graphics.CompositingQuality);