WEB开发网
开发学院软件开发VC MFC绘图6--设置绘图模式 阅读

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.

Tags:MFC 绘图 设置

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接