The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
D2D1_BORDER_MODE enumeration
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;
Constants
- D2D1_BORDER_MODE_SOFT
-
If the crop rectangle falls on fractional pixel coordinates, the effect applies antialiasing which results in a soft edge.
- D2D1_BORDER_MODE_HARD
-
If the crop rectangle falls on fractional pixel coordinates, the effect clamps which results in a hard edge.
Requirements
|
Header |
|
|---|
Show: