setwritemode

The function is used to sets the current foreground mix mode.

void setwritemode(int mode);

Parameters

mode

Binary raster operation codes. See the setrop2 function for details.

Return Value

None

Remarks

The function is declared in graphics.h and is used to be compatible with function of the same name in Turbo C, equivalent to the setrop2 function in easyx.h.

It is recommended that use setrop2 instead of the function.

Examples

None