[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 723

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

The latest version of this document can be found at lazarus-ccr.sourceforge.net.