al_get_pixel_block_height(3alleg5)
β¨ al_get_pixel_block_height β Allegro 5 API β¨
okay bestie, gather round, because we're talking about al_get_pixel_block_height from the Allegro 5 API and honestly? it's giving "small function, big purpose" π
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
int al_get_pixel_block_height(int format)
like yes that's the whole thing, she's compact, she's efficient, she knows what she is π
π DESCRIPTION π
so basically, this little icon returns the height of the pixel block for the format you hand it. that's it. that's the whole vibe. you give her a format, she gives you back the height of that format's pixel block. no cap π«Ά
π¦ SINCE π¦
5.1.9 β she's been here since 5.1.9 and she's been slaying ever since β
π SEE ALSO π
ALLEGRO_PIXEL_FORMAT(3alleg5)β the format lore, go read it πal_get_pixel_block_size(3alleg5)β the size of the block, her bestieal_get_pixel_block_width(3alleg5)β and yeah, the width one, because a block has two dimensions and both of them ate π₯
and that's the whole page, bestie!! this came to you courtesy of the Allegro reference manual, and if you ever forget which page you're on, it's al_get_pixel_block_height(3alleg5) β iconic behavior, no notes πβ¨ππ¦
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms