Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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 |