Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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_MODEValue: 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_MODEValue: 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_DPIValue: 2 The DPI of the input image. The type is FLOAT. The default value is 96.0f. |
D2D1_DPICOMPENSATION_PROP_FORCE_DWORDValue: 0xffffffff |
Requirements
| Requirement | Value |
|---|---|
| Header | d2d1effects.h |