al_draw_rectangle

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

Draws an outlined rectangle.

Parameters:

See also: al_draw_filled_rectangle, al_draw_rounded_rectangle

Examples: ex_draw, ex_font_justify, ex_joystick_events, ex_lines, ex_mouse, ex_mouse_events, ex_prim, ex_subbitmap, ex_ttf


Most helpful discussions:

Other recent discussions: