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

SetWriteMode

Specify binary operation to perform when drawing on screen

Declaration

Source position: graphh.inc line 721

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 pre-defined 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