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.
时间: 2024-10-26 05:42:34