lineto

This 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

Remarks

This function is obsolete and is declared only in graphics.h.

This function is not recommended.

Examples

None