1al_draw_filled_rectangle(3)Library Functions Manualal_draw_filled_rectangle(3)
2
3
4
6 al_draw_filled_rectangle
7
9 #include <allegro5/allegro_primitives.h>
10
11 void al_draw_filled_rectangle(float x1, float y1, float x2, float y2,
12 ALLEGRO_COLOR color)
13
15 Draws a filled rectangle.
16
17 Parameters:
18
19 · x1, y1, x2, y2 - Upper left and lower right points of the rectangle
20
21 · color - Color of the rectangle
22
24 al_draw_rectangle(3), al_draw_filled_rounded_rectangle(3)
25
26
27
28Allegro reference manual al_draw_filled_rectangle(3)