linerel

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

void linerel(
	int dx,
	int dy
);

Parameters

dx

Draw a straight line from the Current Point and offset dx along the x-axis.

dy

Draw a straight line from the Current Point and offset dy along the y-axis.

Return Value

None

Examples

None