This function is used to sets the current foreground mix mode.
void setwritemode(int mode);
Binary raster operation codes. See the setrop2 function for details.
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.