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 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.
Inheritance
The ColorMatrixEffect class implements Effect.
Methods
The ColorMatrixEffect class has these methods.
ColorMatrixEffect::ColorMatrixEffect Creates a ColorMatrixEffect object. |
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. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | gdipluseffects.h |