D2D1_2DAFFINETRANSFORM_PROP enumeration (d2d1effects.h)
Identifiers for properties of the 2D affine transform effect.
typedef enum D2D1_2DAFFINETRANSFORM_PROP {
D2D1_2DAFFINETRANSFORM_PROP_INTERPOLATION_MODE = 0,
D2D1_2DAFFINETRANSFORM_PROP_BORDER_MODE = 1,
D2D1_2DAFFINETRANSFORM_PROP_TRANSFORM_MATRIX = 2,
D2D1_2DAFFINETRANSFORM_PROP_SHARPNESS = 3,
D2D1_2DAFFINETRANSFORM_PROP_FORCE_DWORD = 0xffffffff
} ;
D2D1_2DAFFINETRANSFORM_PROP_INTERPOLATION_MODE Value: 0 The interpolation mode used to scale the image. There are 6 scale modes that range in quality and speed. Type is D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE. Default value is D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_LINEAR. |
D2D1_2DAFFINETRANSFORM_PROP_BORDER_MODE Value: 1 The mode used to calculate the border of the image, soft or hard. Type is D2D1_BORDER_MODE. Default value is D2D1_BORDER_MODE_SOFT. |
D2D1_2DAFFINETRANSFORM_PROP_TRANSFORM_MATRIX Value: 2 The 3x2 matrix to transform the image using the Direct2D matrix transform. Type is D2D1_MATRIX_3X2_F. Default value is Matrix3x2F::Identity(). |
D2D1_2DAFFINETRANSFORM_PROP_SHARPNESS Value: 3 In the high quality cubic interpolation mode, the sharpness level of the scaling filter as a float between 0 and 1. The values are unitless. You can use sharpness to adjust the quality of an image when you scale the image. The sharpness factor affects the shape of the kernel. The higher the sharpness factor, the smaller the kernel. Note This property affects only the high quality cubic interpolation mode. Type is FLOAT. Default value is 1.0f. |
D2D1_2DAFFINETRANSFORM_PROP_FORCE_DWORD Value: 0xffffffff |
Requirement | Value |
---|---|
Header | d2d1effects.h |