al_draw_polygon - Man Page

Allegro 5 API

Synopsis

#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)

Description

Draw an unfilled polygon. This is the same as passing ALLEGRO_LINE_CAP_CLOSED to al_draw_polyline(3).

Since

5.1.0

See Also

al_draw_filled_polygon(3), al_draw_polyline(3), ALLEGRO_LINE_JOIN(3)

Referenced By

al_draw_filled_polygon(3), al_draw_polyline(3), ALLEGRO_LINE_CAP(3), ALLEGRO_LINE_JOIN(3).

Allegro reference manual