![]() |
![]()
| ![]() |
![]()
NAMEpolygon - Draws a filled polygon. Allegro game programming library. SYNOPSIS#include <allegro.h> void polygon(BITMAP *bmp, int vertices, const int *points, int color); DESCRIPTIONDraws a filled polygon with an arbitrary number of corners. Pass the number of vertices and an array containing a series of x, y points (a total of vertices*2 values). Example:
SEE ALSOtriangle(3), polygon3d(3), drawing_mode(3), makecol(3), excamera(3)
|