Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
The interpolation mode the 3D perspective transform effect uses on the image. There are 5 scale modes that range in quality and speed.
Syntax
typedef enum D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE {
D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR = 0,
D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_LINEAR = 1,
D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_CUBIC = 2,
D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR = 3,
D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_ANISOTROPIC = 4,
D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBORValue: 0 Samples the nearest single point and uses that. This mode uses less processing time, but outputs the lowest quality image. |
D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_LINEARValue: 1 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. |
D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_CUBICValue: 2 Uses a 16 sample cubic kernel for interpolation. This mode uses the most processing time, but outputs a higher quality image. |
D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEARValue: 3 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. |
D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_ANISOTROPICValue: 4 Uses anisotropic filtering to sample a pattern according to the transformed shape of the bitmap. |
D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_FORCE_DWORDValue: 0xffffffff |
Requirements
| Requirement | Value |
|---|---|
| Header | d2d1effects.h |