CDC::SetROP2
Visual Studio 2010
Sets the current drawing mode.
int SetROP2( int nDrawMode );
The drawing mode specifies how the colors of the pen and the interior of filled objects are combined with the color already on the display surface.
The drawing mode is for raster devices only; it does not apply to vector devices. Drawing modes are binary raster-operation codes representing all possible Boolean combinations of two variables, using the binary operators AND, OR, and XOR (exclusive OR), and the unary operation NOT.