al_draw_filled_rectangle

void al_draw_filled_rectangle(float x1, float y1, float x2, float y2,
   ALLEGRO_COLOR color)
Introduced in 5.0.0

Draws a filled rectangle.

Parameters:

See also: al_draw_rectangle, al_draw_filled_rounded_rectangle

Examples: ex_bitmap_target, ex_blend, ex_blend2, ex_color, ex_display_options, ex_draw, ex_expose, ex_joystick_events, ex_lines, ex_logo, ex_mixer_pp, ex_mouse, ex_mouse_events, ex_prim, ex_stream_seek, ex_timer


Most helpful discussions:

Other recent discussions: