1triangle(3)                     Allegro manual                     triangle(3)
2
3
4

NAME

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

SYNOPSIS

9       #include <allegro.h>
10
11
12       void triangle(BITMAP *bmp, int x1, y1, x2, y2, x3, y3, int color);
13

DESCRIPTION

15       Draws a filled triangle between the three points.
16
17

SEE ALSO

19       polygon(3), triangle3d(3), drawing_mode(3), makecol(3), ex3buf(3), exs‐
20       tars(3), exupdate(3)
21
22
23
24Allegro                          version 4.4.2                     triangle(3)
Impressum