table of contents
rect(3alleg4) | Allegro manual | rect(3alleg4) |
NAME¶
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(3alleg4), drawing_mode(3alleg4), makecol(3alleg4), ex3d(3alleg4), excamera(3alleg4)
version 4.4.3 | Allegro |