CDC::SetColorAdjustment
TOC
Collapse the table of content
Expand the table of content

CDC::SetColorAdjustment

 

Sets the color adjustment values for the device context using the specified values.


      BOOL SetColorAdjustment(
   const COLORADJUSTMENT* lpColorAdjust 
);

lpColorAdjust

Points to a COLORADJUSTMENT data structure containing the color adjustment values.

Nonzero if successful; otherwise 0.

The color adjustment values are used to adjust the input color of the source bitmap for calls to the CDC::StretchBlt member function when HALFTONE mode is set.

Requirements

Header: afxwin.h

Show:
© 2016 Microsoft