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)
110
Assert.Equal(
CompositingQuality
.Default, g.CompositingQuality);
126
g.CompositingQuality =
CompositingQuality
.GammaCorrected;
137
Assert.Equal(
CompositingQuality
.GammaCorrected, g.CompositingQuality);
289
g.CompositingQuality =
CompositingQuality
.GammaCorrected;
302
g.CompositingQuality =
CompositingQuality
.Default;
315
Assert.Equal(
CompositingQuality
.GammaCorrected, g.CompositingQuality);
329
Assert.Equal(
CompositingQuality
.Default, g.CompositingQuality);
911
AssertEquals(message + ".CompositingQuality",
CompositingQuality
.Default, g.CompositingQuality);
926
AssertEquals(message + ".CompositingQuality",
CompositingQuality
.HighQuality, g.CompositingQuality);
959
g.CompositingQuality =
CompositingQuality
.HighQuality;
992
g.CompositingQuality =
CompositingQuality
.HighQuality;
1026
g.CompositingQuality =
CompositingQuality
.HighQuality;
1107
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);