Skip to content

SetWriteMode

Specify binary operation to perform when drawing on screen

Declaration

Source position: graphh.inc line 760

  procedure SetWriteMode(WriteMode: SmallInt);

Description

SetWriteMode controls the drawing of lines on the screen. It controls the binary operation used when drawing lines on the screen. Mode can be one of the following predefined constants:

CopyPut
Draw as specified using current bitmask and color
XORPut
Draw XOR-ing current bitmask and color

Errors

None.

See also

Name Description
SetBkColor Set background drawing color
SetColor Set foreground drawing color
SetFillStyle Set drawing fill style
SetLineStyle Set line drawing style