ColorMatrixFlags enumeration (gdipluscolormatrix.h)

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,
  ColorMatrixFlagsSkipGrays,
  ColorMatrixFlagsAltGray
} ;

Constants

 
ColorMatrixFlagsDefault
Specifies that all color values (including grays) are adjusted by the same color-adjustment matrix.
ColorMatrixFlagsSkipGrays
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.
ColorMatrixFlagsAltGray
Specifies that colors are adjusted by one matrix and gray shades are adjusted by another matrix.

Requirements

   
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

ImageAttributes::SetColorMatrices

ImageAttributes::SetColorMatrix