hline(3alleg4)

πŸ’– hline β€” the horizontal line glow-up πŸ’–

hline(3alleg4) Β· from the Allegro manual Β· aka the Allegro game programming library bestie πŸŽ€


✨ NAME ✨

hline β€” draws a horizontal line onto the bitmap. Allegro game programming library. πŸ’…


🌸 SYNOPSIS 🌸

#include <allegro.h>

void hline(BITMAP *bmp, int x1, int y, int x2, int color);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. you take a bitmap and you draw a horizontal line on it, going from the point (x1, y) all the way over to (x2, y). that's it. that's the whole vibe. one row, left to right, iconic behavior only. πŸ”₯

note: hline() is literally implemented as an alias to another function. no cap. if you wanna know the tea, go read up on ALLEGRO_NO_VHLINE_ALIAS in the Differences between platforms section. iykyk πŸ‘‘

πŸ’œ SEE ALSO πŸ’œ


mwah πŸ’‹ this page is from Allegro version 4.4.3 β€” stan a legend. πŸ«Άβœ¨πŸŽ€