lineto

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

void lineto(
	int x,
	int y
);

Parameters

x

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

y

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

Return Value

None

Remarks

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

This function is not recommended.

Examples

None

(贡献者:Krissi  编辑