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

LineTo

Draw a line starting from current position to a given point

Declaration

Source position: graphh.inc line 796

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

LineRel

  

Draw a line starting from current position in given direction

Line

  

Draw a line between 2 points


Documentation generated on: Jun 22 2020