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.

ColorMatrixEffect class

Applies to: desktop apps only

The ColorMatrixEffect class enables you to apply an affine transformation to a bitmap. Pass the address of a ColorMatrixEffect object to the Graphics::DrawImage method or to the Bitmap::ApplyEffect method. To specify the transformation, set the elements of a ColorMatrix structure, and pass the address of that structure to the ColorMatrixEffect::SetParameters method of a ColorMatrixEffect object.

Members

The ColorMatrixEffect class inherits from Effect. ColorMatrixEffect also has these types of members:

Constructors

The ColorMatrixEffect class has these constructors.

ConstructorDescription
ColorMatrixEffect::ColorMatrixEffect

Creates a ColorMatrixEffect object.

 

Methods

The ColorMatrixEffect class has these methods.

MethodDescription
ColorMatrixEffect::GetParameters

The ColorMatrixEffect::GetParameters method gets the elements of the current 5x5 color matrix of this ColorMatrixEffect object.

ColorMatrixEffect::SetParameters

The ColorMatrixEffect::SetParameters method sets the 5x5 color matrix of this ColorMatrixEffect object.

 

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

Show:
© 2014 Microsoft