Sign in Join
FPDoc Onlineexperiment

LineRel procedure

In unit Graph

Draw a line starting from current position in given direction.

Declaration

pascal
procedure LineRel(Dx: SmallInt; Dy: SmallInt)

Description

LineRel draws a line starting from the current pointer position to the point (DX,DY), relative to the current position, in the current line style and color. The Current Position is set to the endpoint of the line.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.