rect man page

rect — Draws an outline rectangle. Allegro game programming library.

Synopsis

#include <allegro.h>

void rect(BITMAP *bmp, int x1, int y1, int x2, int y2, int color);

Description

Draws an outline rectangle with the two points as its opposite corners.

See Also

rectfill(3), drawing_mode(3), makecol(3), ex3d(3), excamera(3)

Referenced By

ex3d(3), excamera(3), rectfill(3).

version 4.4.2 Allegro Allegro manual