LineTo(X, Y)
Draws a line to the specified X, Y position from the current X, Y position using the current drawing color.
Parameters
X - Ending horizontal position of line
Y - Ending vertical position of line
Examples
BASIC
CALL LineTo(50, 75)PASCAL
LineTo(50, 75);BGI equivalent
void lineto(int x, int y);