al_draw_filled_rectangle(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

al_draw_filled_rectangle β€” it's giving Allegro 5 API, bestie πŸ’–


🌸 SYNOPSIS 🌸

#include <allegro5/allegro_primitives.h>

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

πŸŽ€ DESCRIPTION πŸŽ€

okay so lowkey the whole job here is: it draws a filled rectangle. that's it, that's the vibe. solid block of colour. no cap. 🫢

πŸ’… Parameters

  • x1, y1, x2, y2 β€” the upper left and lower right points of the rectangle. like, corner one and corner opposite-corner. that's the whole shape right there ✨
  • color β€” the colour of the rectangle. obviously. it's the ALLEGRO_COLOR you're painting the whole thing in 🌈

πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page, bestie, we ate πŸ“ this one came straight out of the Allegro reference manual β€” periodt πŸ’œ

πŸ“¦ where this page comes from