Function line
#include <macaw.h>void line(int x0, int y0, int x1, int y1, int colour);
Draws a straight line from one point to another.
Parameters
x0int- How far the start is from the window's left edge, in pixels.
y0int- How far the start is from the window's top, in pixels.
x1int- How far the end is from the window's left edge, in pixels.
y1int- How far the end is from the window's top, in pixels.
colourint- The line's colour, from 0 to 255.
In Drawing, with cls, pset, pget, rect, rectfill, circ, circfill, tri, text, textwidth, clip, noclip, camera, box, centertext, shadowtext, textscaled, wraptext, wrapline.