Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
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_SOFTValue: 0 If the crop rectangle falls on fractional pixel coordinates, the effect applies antialiasing which results in a soft edge. |
D2D1_BORDER_MODE_HARDValue: 1 If the crop rectangle falls on fractional pixel coordinates, the effect clamps which results in a hard edge. |
D2D1_BORDER_MODE_FORCE_DWORDValue: 0xffffffff |
Requirements
| Requirement | Value |
|---|---|
| Header | d2d1effects.h |