D2D1_CONTRAST_PROP enumeration (d2d1effects_2.h)
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) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for