Help Center

CurveAdjustmentsfunction

Bitmap adjustments.

Graphicsfunctiondoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Parameters

NameDescription
AdjustExposure0
AdjustDensity1
AdjustContrast2
AdjustHighlight3
AdjustShadow4
AdjustMidtone5
AdjustWhiteSaturation6
AdjustBlackSaturation7

Description

Bitmap adjustments-

To apply one of the eight adjustments to a bitmap, follow these steps.

  1. Create a ColorCurveParams structure, and set its adjustment member to one of the elements of the CurveAdjustments enumeration.
  2. Set the other two members (adjustValue and channel) of the ColorCurveParams structure.
  3. Pass the address of the ColorCurveParams structure to the GdipSetEffectParameters function.
  4. Call the GdipBitmapApplyEffect function.

Reference