linerel

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

void linerel(
	int dx,
	int dy
);

Parameters

dx

Draw a line from current location and offset dx along the x-axis.

dy

Draw a line from current location and offset dy along the y-axis.

Return Value

None

Remarks

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

This function is not recommended.

Examples

None

(贡献者:Krissi  编辑