Language:
Русский
English
SetWriteMode (procedure) (Graph unit)
Sets the writing mode for line drawing.
Declaration
procedure SetWriteMode(WriteMode: Integer);
Target
Real, Protected
Remarks
Each binary operation constant corresponds to a binary operation between each byte in the line and the corresponding bytes on the screen. CopyPut uses the assembly language MOV instruction, overwriting with the line whatever is on the screen. XORPut uses the XOR command to combine the line with the screen. Two successive XOR commands will erase the line and restore the screen to its original appearance.
SetWriteMode affects calls to the following routines only: DrawPoly, Line, LineRel, LineTo, and Rectangle .