lineto

The function is used to draw a straight line.You can also draw straight lines with line and lineto.

void lineto(
	int x,
	int y
);

Parameters

x

The x coordinate of the target point (drawing a straight line from the current point).

y

The y coordinate of the target point (drawing a straight line from the current point).

Return Value

None

Examples

None