al_draw_polygon(3alleg5) | al_draw_polygon(3alleg5) |
al_draw_polygon - Allegro 5 API
#include <allegro5/allegro_primitives.h> void al_draw_polygon(const float *vertices, int vertex_count,
int join_style, ALLEGRO_COLOR color, float thickness, float miter_limit)
Draw an unfilled polygon. This is the same as passing ALLEGRO_LINE_CAP_CLOSED to al_draw_polyline(3alleg5).
5.1.0
al_draw_filled_polygon(3alleg5), al_draw_polyline(3alleg5), ALLEGRO_LINE_JOIN(3alleg5)
Allegro reference manual |