D2D1_DPICOMPENSATION_PROP enumeration (d2d1effects.h)
Identifiers for properties of the DPI compensation effect.
Syntax
typedef enum D2D1_DPICOMPENSATION_PROP {
D2D1_DPICOMPENSATION_PROP_INTERPOLATION_MODE = 0,
D2D1_DPICOMPENSATION_PROP_BORDER_MODE = 1,
D2D1_DPICOMPENSATION_PROP_INPUT_DPI = 2,
D2D1_DPICOMPENSATION_PROP_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_DPICOMPENSATION_PROP_INTERPOLATION_MODE Value: 0 The interpolation mode the effect uses to scale the image. The type is D2D1_DPICOMPENSATION_INTERPOLATION_MODE. The default value is D2D1_DPICOMPENSATION_INTERPOLATION_MODE_LINEAR. |
D2D1_DPICOMPENSATION_PROP_BORDER_MODE Value: 1 The mode used to calculate the border of the image, soft or hard. See Border modes for more info. The type is D2D1_BORDER_MODE. The default value is D2D1_BORDER_MODE_SOFT. |
D2D1_DPICOMPENSATION_PROP_INPUT_DPI Value: 2 The DPI of the input image. The type is FLOAT. The default value is 96.0f. |
D2D1_DPICOMPENSATION_PROP_FORCE_DWORD Value: 0xffffffff |
Requirements
Requirement | Value |
---|---|
Header | d2d1effects.h |