al_draw_filled_polygon - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro_primitives.h>

void al_draw_filled_polygon(const float *vertices, int vertex_count,
   ALLEGRO_COLOR color)

Description

Draw a filled, simple polygon. Simple means it does not have to be convex but must not be self-overlapping.

When the y-axis is facing downwards (the usual), the coordinates must be ordered anti-clockwise.

Since

5.1.0

See Also

al_draw_polygon(3), al_draw_filled_polygon_with_holes(3)

Referenced By

al_draw_filled_polygon_with_holes(3), al_draw_polygon(3).

Allegro reference manual