D2D1_POSTERIZE_PROP enumeration
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;
Constants
- D2D1_POSTERIZE_PROP_RED_VALUE_COUNT
-
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_COUNT
-
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_COUNT
-
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.
Requirements
|
Header |
|
|---|