GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
al_draw_filled_polygon(3) al_draw_filled_polygon(3)

al_draw_filled_polygon - Allegro 5 API


#include <allegro5/allegro_primitives.h>
void al_draw_filled_polygon(const float *vertices, int vertex_count,
   ALLEGRO_COLOR color)

    

Draw a filled, simple polygon. Simple means it does not have to be convex but must not be self-overlapping.
vertices - Interleaved array of (x, y) vertex coordinates
vertex_count - Number of vertices in the array
color - Color of the filled polygon

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

5.1.0

al_draw_polygon(3), al_draw_filled_polygon_with_holes(3)
Allegro reference manual

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.