44 references to InterpolationMode
System.Drawing (1)
System.Drawing.cs (1)
38
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Drawing2D.
InterpolationMode
))]
System.Drawing.Common (1)
Special\NotSupported.cs (1)
440
public System.Drawing.Drawing2D.
InterpolationMode
InterpolationMode { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
System.Drawing.Common.Tests (38)
mono\System.Drawing\GraphicsTests.cs (13)
111
Assert.Equal(
InterpolationMode
.Bilinear, g.InterpolationMode);
127
g.InterpolationMode =
InterpolationMode
.HighQualityBilinear;
138
Assert.Equal(
InterpolationMode
.HighQualityBilinear, g.InterpolationMode);
290
g.InterpolationMode =
InterpolationMode
.HighQualityBilinear;
303
g.InterpolationMode =
InterpolationMode
.Bilinear;
316
Assert.Equal(
InterpolationMode
.HighQualityBilinear, g.InterpolationMode);
330
Assert.Equal(
InterpolationMode
.Bilinear, g.InterpolationMode);
912
AssertEquals(message + ".InterpolationMode",
InterpolationMode
.Bilinear, g.InterpolationMode);
927
AssertEquals(message + ".InterpolationMode",
InterpolationMode
.HighQualityBicubic, g.InterpolationMode);
960
g.InterpolationMode =
InterpolationMode
.HighQualityBicubic;
993
g.InterpolationMode =
InterpolationMode
.HighQualityBicubic;
1027
g.InterpolationMode =
InterpolationMode
.HighQualityBicubic;
1108
g.InterpolationMode =
InterpolationMode
.HighQualityBicubic;
System\Drawing\GraphicsTests.cs (25)
580
[InlineData(
InterpolationMode
.Bicubic,
InterpolationMode
.Bicubic)]
581
[InlineData(
InterpolationMode
.Bilinear,
InterpolationMode
.Bilinear)]
582
[InlineData(
InterpolationMode
.Default,
InterpolationMode
.Bilinear)]
583
[InlineData(
InterpolationMode
.High,
InterpolationMode
.HighQualityBicubic)]
584
[InlineData(
InterpolationMode
.HighQualityBicubic,
InterpolationMode
.HighQualityBicubic)]
585
[InlineData(
InterpolationMode
.HighQualityBilinear,
InterpolationMode
.HighQualityBilinear)]
586
[InlineData(
InterpolationMode
.Low,
InterpolationMode
.Bilinear)]
587
[InlineData(
InterpolationMode
.NearestNeighbor,
InterpolationMode
.NearestNeighbor)]
588
public void InterpolationMode_SetValid_GetReturnsExpected(
InterpolationMode
interpolationMode,
InterpolationMode
expectedInterpolationMode)
597
[InlineData(
InterpolationMode
.Invalid - 1)]
598
[InlineData(
InterpolationMode
.HighQualityBicubic + 1)]
599
public void InterpolationMode_SetInvalid_ThrowsInvalidEnumArgumentException(
InterpolationMode
interpolationMode)
611
AssertExtensions.Throws<ArgumentException>(null, () => graphics.InterpolationMode =
InterpolationMode
.Invalid);
623
Assert.Throws<InvalidOperationException>(() => graphics.InterpolationMode =
InterpolationMode
.HighQualityBilinear);
639
AssertExtensions.Throws<ArgumentException>(null, () => graphics.InterpolationMode =
InterpolationMode
.HighQualityBilinear);
2807
Assert.Equal(
InterpolationMode
.Bilinear, graphics.InterpolationMode);
System.Windows.Forms.Primitives (4)
System\Windows\Forms\Internals\ScaleHelper.cs (4)
162
InterpolationMode
interpolationMode =
InterpolationMode
.HighQualityBicubic;
169
interpolationMode =
InterpolationMode
.NearestNeighbor;
174
interpolationMode =
InterpolationMode
.HighQualityBilinear;