al_draw_filled_triangle
void al_draw_filled_triangle(float x1, float y1, float x2, float y2,
float x3, float y3, ALLEGRO_COLOR color)
Introduced in 5.0.0
Draws a filled triangle.
Parameters:
- x1, y1, x2, y2, x3, y3 - Three points of the triangle
- color - Color of the triangle
See also: al_draw_triangle
Examples: ex_prim
Most helpful discussions:
- Vivace extra points. Its there a better way of doing this one.
- GUI Design and Implementation for Noobs
- 7Zip file of my game - Alien Cookbook
- help: how to use al_calculate_arc()
- Upgrade from Allegro 5.0.10 to Allegro 5.2.5
- Install Allegro 5.2.4.1 on Win10
- Drawing antialiased primitives to bitmaps?
- save display window as image(png,jpg)
- Having problems dont know what causes it.
- Seriously severe input delay on AL5.0.10
Other recent discussions:
- Generating random combination of obstacles:Problem
- 2D game has a little problem here
- Detecting mouseover on isometric map
- Program with al_set_target_bitmap does not run.
- Help, First-chance exception at 0x5abeb70e in Game.exe: 0xC0000005: Access viola
- Primitive equivalent to al_hold_bitmap_drawing?
- Soft corners
- Allegro 5 Book
- [A5] Ghost trail when moving primitives
- Snake on wine