Partager via


CDC::GetROP2

Retrieves the current drawing mode.

int GetROP2( ) const;

Return Value

The drawing mode. For a list of the drawing mode values, see the SetROP2 member function.

Remarks

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.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::GetDeviceCaps

CDC::SetROP2

GetROP2