vline(3alleg4)

πŸ’– vline β€” the vertical line queen πŸ’–

okay so bestie, we're in vline(3alleg4) territory, aka section 3 of the Allegro manual, aka the Allegro game programming library. and babes, this function is exactly what it sounds like and it ate. πŸŽ€


✨ NAME ✨

vline β€” draws a vertical line onto the bitmap. it's giving Allegro game programming library realness. πŸ’…


✨ SYNOPSIS ✨

#include <allegro.h>

void vline(BITMAP *bmp, int x, int y1, int y2, int color);

✨ DESCRIPTION ✨

okay so picture this: you've got a bitmap, and you want a vertical line on it. vline() draws that line onto the bitmap, going from point (x, y1) all the way down to point (x, y2). that's it, that's the whole vibe. 🌈

πŸ’€ heads up bestie: vline() is implemented as an alias to another function. if you wanna know the tea, go peek at ALLEGRO_NO_VHLINE_ALIAS in the Differences between platforms section. iykyk. πŸ‘‘

✨ SEE ALSO ✨


and that's the whole page, bestie β€” no cap. this lil masterpiece lives in Allegro version 4.4.3, and honestly? iconic. go draw some lines. periodt. πŸ’œβœ¨