D2D1_DPICOMPENSATION_PROP enumeration
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;
Constants
- D2D1_DPICOMPENSATION_PROP_INTERPOLATION_MODE
-
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
-
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
-
The DPI of the input image.
The type is FLOAT.
The default value is 96.0f.
Requirements
|
Header |
|
|---|