Sponsor:

Your company here, and a link to your site. Click to find out more.

triangle - Man Page

Draws a filled triangle. Allegro game programming library.

Synopsis

#include <allegro.h>

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

Description

Draws a filled triangle between the three points.

See Also

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

Referenced By

ex3buf(3), exstars(3), exupdate(3), polygon(3), triangle3d(3).

version 4.4.3 Allegro manual