int GetROP2() const;
Retrieves the current drawing mode. 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. For a list of the drawing mode values, see SetROP2.
CDC::GetDeviceCaps, CDC::SetROP2, ::GetROP2