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 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_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_STRAIGHTEN_PROP_ANGLE Value: 0 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 Value: 1 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 Value: 2 The D2D1_STRAIGHTEN_PROP_SCALE_MODE property is a D2D1_STRAIGHTEN_SCALE_MODE enumeration value indicating the scaling mode that should be used. |
D2D1_STRAIGHTEN_PROP_FORCE_DWORD Value: 0xffffffff |
Requirements
Requirement | Value |
---|---|
Header | d2d1effects_2.h |