Enum D2D1InterpolationModeDefinition
This defines the superset of interpolation mode supported by D2D APIs and built-in effects
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public enum D2D1InterpolationModeDefinition
Fields
Name | Description |
---|---|
Anisotropic | Uses anisotropic filtering to sample a pattern according to the transformed shape of the bitmap. |
Cubic | Uses a 16 sample cubic kernel for interpolation. This mode uses the most processing time, but outputs a higher quality image. |
Fant | Fant interpolation mode. |
HighQualityCubic | Uses a variable size high quality cubic kernel to perform a pre-downscale the image if downscaling is involved in the transform matrix. Then uses the cubic interpolation mode for the final output. |
Linear | Uses a four point sample and linear interpolation. This mode uses more processing time than the nearest neighbor mode, but outputs a higher quality image. |
MipmapLinear | Mipmap Linear interpolation mode. |
MultiSampleLinear | Uses 4 linear samples within a single pixel for good edge anti-aliasing. This mode is good for scaling down by small amounts on images with few pixels. |
NearestNeighbor | Samples the nearest single point and uses that exact color. This mode uses less processing time, but outputs the lowest quality image. |