1triangle(3) Allegro manual triangle(3)
23
4
NAME
6triangle - Draws a filled triangle. Allegro game programming library.
7
SYNOPSIS
9#include <allegro.h>
1011
12
void triangle(BITMAP *bmp, int x1, y1, x2, y2, x3, y3, int color);
13
DESCRIPTION
15Draws a filled triangle between the three points.
1617
SEE ALSO
19polygon(3), triangle3d(3), drawing_mode(3), makecol(3), ex3buf(3), exs‐
20tars(3), exupdate(3)
2122
23
24
Allegro version 4.4.2 triangle(3)