1. CDC::SetROP2
int SetROP2( int nDrawMode );
功能:设置当前的绘图模式,用来设置当前的画笔和填充颜色和模式
返回:旧的绘图模式
参数:nDrawMode
Specifies the new drawing mode.
R2_BLACK Pixel is always black.
R2_WHITE Pixel is always white.
R2_NOP Pixel remains unchanged.
R2_NOT Pixel is the inverse of the screen color.
R2_COPYPEN Pixel is the pen color.
R2_N