BrightnessContrast class (gdipluseffects.h)

The BrightnessContrast class enables you to change the brightness and contrast of a bitmap. Pass the address of a BrightnessContrast object to the Graphics::DrawImage method or to the Bitmap::ApplyEffect method. To specify the brightness and contrast levels, pass a BrightnessContrastParams structure to the BrightnessContrast::SetParameters method of a BrightnessContrast object.

Inheritance

The BrightnessContrast class implements Effect.

Methods

The BrightnessContrast class has these methods.

 
BrightnessContrast::BrightnessContrast

Creates a new BrightnessContrast object.
BrightnessContrast::GetParameters

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

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

Requirements

Requirement Value
Target Platform Windows
Header gdipluseffects.h