.\" Automatically generated by Pandoc 3.1.11.1 .\" .TH "al_draw_rectangle" "3" "" "Allegro reference manual" "" .SH NAME al_draw_rectangle \- Allegro 5 API .SH SYNOPSIS .IP .EX #include void al_draw_rectangle(float x1, float y1, float x2, float y2, ALLEGRO_COLOR color, float thickness) .EE .SH DESCRIPTION Draws an outlined rectangle. .PP \f[I]Parameters:\f[R] .IP \[bu] 2 x1, y1, x2, y2 \- Upper left and lower right points of the rectangle .IP \[bu] 2 color \- Color of the rectangle .IP \[bu] 2 thickness \- Thickness of the lines, pass \f[CR]<= 0\f[R] to draw hairline lines .SH SEE ALSO al_draw_filled_rectangle(3), al_draw_rounded_rectangle(3)