AL_DRAW_FILLED_RECTANGLE(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’– NAME β€” al_draw_filled_rectangle(3) πŸ’–

okay so bestie, this is al_draw_filled_rectangle(3), from the Library Functions Manual section of the Allegro reference manual β€” specifically the Allegro 5 API. She draws a filled rectangle, and she’s lowkey iconic for it. πŸŽ€

✨ SYNOPSIS ✨

#include <allegro5/allegro_primitives.h>

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

πŸ¦‹ DESCRIPTION πŸ¦‹

It draws a filled rectangle. That’s the whole assignment, no cap. πŸ’…

Parameters, bestie:

  • x1, y1, x2, y2 β€” the upper left and lower right points of the rectangle. So yes, opposite corners, periodt. 🫢
  • color β€” the color of the rectangle. Slay. πŸ’–

🌈 SEE ALSO 🌈


πŸ’œ that’s the whole page: from the Allegro reference manual, al_draw_filled_rectangle(3), with no date or version printed in the original footer, so we’re leaving it timeless. ✨

πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms