Sign in Join
FPDoc Onlineexperiment

LineTo procedure

In unit Graph

Draw a line starting from current position to a given point.

Declaration

pascal
procedure LineTo(X: SmallInt; Y: SmallInt)

Description

LineTo 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 end of the line.

Errors

None.

See also

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