BrightnessContrast class

Applies to: desktop apps only

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.

Members

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

Constructors

The BrightnessContrast class has these constructors.

ConstructorDescription
BrightnessContrast::BrightnessContrast

Creates a new BrightnessContrast object.

 

Methods

The BrightnessContrast class has these methods.

MethodDescription
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.

 

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Show: