Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ColorMatrixFlags enumeration

Applies to: desktop apps only

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  {
  ColorMatrixFlagsDefault     = 0,
  ColorMatrixFlagsSkipGrays   = 1,
  ColorMatrixFlagsAltGray     = 2 
} ColorMatrixFlags;

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

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdipluscolormatrix.h (include Gdiplus.h)

See also

ImageAttributes::ClearColorMatrices
ImageAttributes::ClearColorMatrix
ImageAttributes::SetColorMatrices
ImageAttributes::SetColorMatrix

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

Show: