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.
The BrightnessContrast class inherits from Effect. BrightnessContrast also has these types of members:
The BrightnessContrast class has these constructors.
Creates a new BrightnessContrast object.
The BrightnessContrast class has these methods.
The BrightnessContrast::GetParameters method gets the current values of the parameters of this BrightnessContrast object.
The BrightnessContrast::SetParameters method sets the parameters of this BrightnessContrast object.
Build date: 3/6/2012