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.
Specifies how the Crop effect handles the crop rectangle falling on fractional pixel coordinates.
Syntax
typedef enum D2D1_BORDER_MODE {
D2D1_BORDER_MODE_SOFT = 0,
D2D1_BORDER_MODE_HARD = 1,
D2D1_BORDER_MODE_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_BORDER_MODE_SOFT Value: 0 If the crop rectangle falls on fractional pixel coordinates, the effect applies antialiasing which results in a soft edge. |
D2D1_BORDER_MODE_HARD Value: 1 If the crop rectangle falls on fractional pixel coordinates, the effect clamps which results in a hard edge. |
D2D1_BORDER_MODE_FORCE_DWORD Value: 0xffffffff |
Requirements
Requirement | Value |
---|---|
Header | d2d1effects.h |