[Overview][Constants][Types][Procedures and functions][Variables][Index] | Reference for unit 'Graph' (#rtl)

# 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

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

Documentation generated on: May 14 2021