D2D1_STRAIGHTEN_PROP enumeration
Identifiers for properties of the Straighten effect.
Syntax
typedef enum D2D1_STRAIGHTEN_PROP { D2D1_STRAIGHTEN_PROP_ANGLE = 0, D2D1_STRAIGHTEN_PROP_MAINTAIN_SIZE = 1, D2D1_STRAIGHTEN_PROP_SCALE_MODE = 2 } D2D1_STRAIGHTEN_PROP;
Constants
- D2D1_STRAIGHTEN_PROP_ANGLE
-
The D2D1_STRAIGHTEN_PROP_ANGLE property is a float value that specifies how much the image should be rotated. The allowed range is -45.0 to 45.0. The default value is 0.0.
- D2D1_STRAIGHTEN_PROP_MAINTAIN_SIZE
-
The D2D1_STRAIGHTEN_PROP_MAINTAIN_SIZE property is a boolean value that specifies whether the image will be scaled such that the original size is maintained without any invalid regions. The default value is True.
- D2D1_STRAIGHTEN_PROP_SCALE_MODE
-
The D2D1_STRAIGHTEN_PROP_SCALE_MODE property is a D2D1_STRAIGHTEN_SCALE_MODE enumeration value indicating the scaling mode that should be used.
Requirements
|
Header |
|
|---|