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 ColorMatrixFlags enumeration specifies the types of images and colors that will be affected by the color and grayscale adjustment settings of an ImageAttributes object.
Syntax
typedef enum ColorMatrixFlags {
ColorMatrixFlagsDefault = 0,
ColorMatrixFlagsSkipGrays = 1,
ColorMatrixFlagsAltGray = 2
} ;
Constants
ColorMatrixFlagsDefaultValue: 0 Specifies that all color values (including grays) are adjusted by the same color-adjustment matrix. |
ColorMatrixFlagsSkipGraysValue: 1 Specifies that colors are adjusted but gray shades are not adjusted. A gray shade is any color that has the same value for its red, green, and blue components. |
ColorMatrixFlagsAltGrayValue: 2 Specifies that colors are adjusted by one matrix and gray shades are adjusted by another matrix. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | gdipluscolormatrix.h (include Gdiplus.h) |
See also
ImageAttributes::ClearColorMatrices
ImageAttributes::ClearColorMatrix