CDC::InvertRgn 

BOOL InvertRgn( CRgn* pRgn );

Return Value

Nonzero if the function is successful; otherwise 0.

Parameters

pRgn

Identifies the region to be inverted. The coordinates for the region are specified in device units.

Remarks

Inverts the colors in the region specified by pRgn. On monochrome displays, the function makes white pixels black and black pixels white. On color displays, the inversion depends on how the colors are generated for the display.

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::FillRgn, CDC::PaintRgn, CRgn, ::InvertRgn