Function rect
#include <macaw.h>void rect(int x, int y, int w, int h, int colour);
Draws the outline of a rectangle, one pixel thick.
Parameters
xint- How far its left edge is from the window's left edge, in pixels.
yint- How far its top edge is from the window's top, in pixels.
wint- Its width in pixels. 0 or less draws nothing.
hint- Its height in pixels. 0 or less draws nothing.
colourint- The outline's colour, from 0 to 255.
In Drawing, with cls, pset, pget, line, rectfill, circ, circfill, tri, text, textwidth, clip, noclip, camera, box, centertext, shadowtext, textscaled, wraptext, wrapline.