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 onALLEGRO_NO_VHLINE_ALIASin theDifferences between platformssection. iykyk π
π SEE ALSO π
vline(3alleg4)β the vertical sibling, equally slayline(3alleg4)β for when you're feeling diagonal πdrawing_mode(3alleg4)β pick your whole aestheticmakecol(3alleg4)β get that color palette poppin'exsprite(3alleg4)β the example, go look at it fr fr
mwah π this page is from Allegro version 4.4.3 β stan a legend. π«Άβ¨π
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms