DOKK / manpages / debian 10 / allegro4-doc / triangle.3alleg4.en
triangle(3alleg4) Allegro manual triangle(3alleg4)

triangle - Draws a filled triangle. Allegro game programming library.

#include <allegro.h>

void triangle(BITMAP *bmp, int x1, y1, x2, y2, x3, y3, int color);

Draws a filled triangle between the three points.

polygon(3alleg4), triangle3d(3alleg4), drawing_mode(3alleg4), makecol(3alleg4), ex3buf(3alleg4), exstars(3alleg4), exupdate(3alleg4)

version 4.4.2 Allegro