Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Identifiers for properties of the Contrast effect.
Syntax
typedef enum D2D1_CONTRAST_PROP {
D2D1_CONTRAST_PROP_CONTRAST = 0,
D2D1_CONTRAST_PROP_CLAMP_INPUT = 1,
D2D1_CONTRAST_PROP_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_CONTRAST_PROP_CONTRAST Value: 0 The D2D1_CONTRAST_PROP_CONTRAST property is a float value indicating the amount by which to adjust the contrast of the image. Negative values reduce contrast, while positive values increase contrast. Minimum value is -1.0f, maximum value is 1.0f. The default value for the property is 0.0f. |
D2D1_CONTRAST_PROP_CLAMP_INPUT Value: 1 The D2D1_CONTRAST_PROP_CLAMP_INPUT property is a boolean value indicating whether or not to clamp the input to [0.0, 1.0]. The default value for the property is FALSE. |
D2D1_CONTRAST_PROP_FORCE_DWORD Value: 0xffffffff |
Requirements
Requirement | Value |
---|---|
Header | d2d1effects_2.h (include D2d1_effects_2.h) |