bmp_write_line(3alleg4)

πŸ’– bmp_write_line πŸ’–

okay bestie, welcome to bmp_write_line(3alleg4) β€” that's the Allegro manual, section 3, and this lil cutie lives in the Allegro game programming library ✨


🌸 NAME 🌸

bmp_write_line β€” direct access bank switching line selection for writing. Allegro game programming library. yes she's giving low-level, yes she's iconic πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro.h>

unsigned long bmp_write_line(BITMAP *bmp, int line);

literally that's the whole thing. so clean. so demure. πŸŽ€


✨ DESCRIPTION ✨

so basically? this function selects the line of a bitmap that you are going to draw onto. that's it. that's the whole vibe. you point at a bitmap, you point at a line, and boom β€” she's selected, ready for you to write to her. 🫢

it's the "direct access bank switching" situation, iykyk β€” the for writing version, not the reading one. don't get it twisted bestie 😭


πŸ’œ RETURN VALUE πŸ’œ

she returns the address of the selected line for writing. an unsigned long, bestie. that's your pointer energy right there, go off πŸ‘‘


🌈 SEE ALSO 🌈


no cap: this is the Allegro manual, bmp_write_line(3alleg4), straight from Allegro version 4.4.3 πŸ’– tysm for reading, mwah, go write to some lines bestie πŸ’…βœ¨πŸŽ€