MFC绘图6--设置绘图模式
2010-01-23 20:32:42 来源:WEB开发网核心提示:SetROP2The SetROP2 function sets the current foreground mix mode. GDI uses the foreground mix mode to combine pens and interiors of filled objects with the colo
SetROP2
The SetROP2 function sets the current foreground mix mode. GDI uses the foreground mix mode to combine pens and interiors of filled objects with the colors already on the screen. The foreground mix mode defines how colors from the brush or pen and the colors in the existing image are to be combined. int SetROP2(
HDC hdc, // handle to DC
int fnDrawMode // drawing mode
);
Parameters
hdc
[in] Handle to the device context.
fnDrawMode
[in] Specifies the mix mode. This parameter can be one of the following values.
更多精彩
赞助商链接