ColorCurve class (gdipluseffects.h)

The ColorCurve class encompasses eight separate adjustments: exposure, density, contrast, highlight, shadow, midtone, white saturation, and black saturation. You can apply one of those adjustments to a bitmap by passing the address of a ColorCurve object to the Graphics::DrawImage method or to the Bitmap::ApplyEffect method. To specify the adjustment, the intensity of the adjustment, and the color channel to which the adjustment applies, pass the address of a ColorCurveParams structure to the ColorCurve::SetParameters method of a ColorCurve object.

Inheritance

The ColorCurve class implements Effect.

Methods

The ColorCurve class has these methods.

 
ColorCurve::ColorCurve

Creates a ColorCurve object.
ColorCurve::GetParameters

The ColorCurve::GetParameters gets the current values of the parameters of this ColorCurve object.
ColorCurve::SetParameters

The ColorCurve::SetParameters method sets the parameters of this ColorCurve object.

Requirements

   
Target Platform Windows
Header gdipluseffects.h