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.
The alpha mode of the output of the Color matrix effect.
Syntax
typedef enum D2D1_COLORMATRIX_ALPHA_MODE {
D2D1_COLORMATRIX_ALPHA_MODE_PREMULTIPLIED = 1,
D2D1_COLORMATRIX_ALPHA_MODE_STRAIGHT = 2,
D2D1_COLORMATRIX_ALPHA_MODE_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_COLORMATRIX_ALPHA_MODE_PREMULTIPLIEDValue: 1 The effect un-premultiplies the input, applies the color matrix, and premultiplies the output. |
D2D1_COLORMATRIX_ALPHA_MODE_STRAIGHTValue: 2 The effect applies the color matrix directly to the input, and doesn't premultiply the output. |
D2D1_COLORMATRIX_ALPHA_MODE_FORCE_DWORDValue: 0xffffffff |
Requirements
| Requirement | Value |
|---|---|
| Header | d2d1effects.h |