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 Posterize effect.
Syntax
typedef enum D2D1_POSTERIZE_PROP {
D2D1_POSTERIZE_PROP_RED_VALUE_COUNT = 0,
D2D1_POSTERIZE_PROP_GREEN_VALUE_COUNT = 1,
D2D1_POSTERIZE_PROP_BLUE_VALUE_COUNT = 2,
D2D1_POSTERIZE_PROP_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_POSTERIZE_PROP_RED_VALUE_COUNTValue: 0 The D2D1_POSTERIZE_PROP_RED_VALUE_COUNT property is an integer value specifying how many evenly spaced steps to divide the red channel range of 0.0 to 1.0 into. For example, a value of 4 generates a table with 4 steps, [0.0, 0.33, 0.67, 1.0]. The allowed range for this property is 2 to 16. The default value is 4. |
D2D1_POSTERIZE_PROP_GREEN_VALUE_COUNTValue: 1 The D2D1_POSTERIZE_PROP_GREEN_VALUE_COUNT property is an integer value specifying how many evenly spaced steps to divide the green channel range of 0.0 to 1.0 into. For example, a value of 4 generates a table with 4 steps, [0.0, 0.33, 0.67, 1.0]. The allowed range for this property is 2 to 16. The default value is 4. |
D2D1_POSTERIZE_PROP_BLUE_VALUE_COUNTValue: 2 The D2D1_POSTERIZE_PROP_BLUE_VALUE_COUNT property is an integer value specifying how many evenly spaced steps to divide the blue channel range of 0.0 to 1.0 into. For example, a value of 4 generates a table with 4 steps, [0.0, 0.33, 0.67, 1.0]. The allowed range for this property is 2 to 16. The default value is 4. |
D2D1_POSTERIZE_PROP_FORCE_DWORDValue: 0xffffffff |
Requirements
| Requirement | Value |
|---|---|
| Header | d2d1effects_2.h |