al_is_sub_bitmap(3)
π al_is_sub_bitmap(3) π
okay so bestie, welcome to another page of the Library Functions Manual β Allegro edition β¨ this one is tiny but honestly so useful, and it's from the Allegro 5 API so you know it's the real deal π«Ά
β¨ NAME β¨
al_is_sub_bitmap β the little vibe check that tells you if a bitmap is a sub-bitmap πΈ (yes, that's literally the whole job, and she does it flawlessly π
)
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
bool al_is_sub_bitmap(ALLEGRO_BITMAP *bitmap)
β¨ DESCRIPTION β¨
okay so here's the tea β: this function returns true if the specified bitmap is a sub-bitmap, and false otherwise. that's it. that's the whole function. no cap π§
like, you hand her an ALLEGRO_BITMAP *bitmap, she looks at it, and she tells you yes or no. main character energy honestly π
bestie reminder: the answer is abool, so it's givingtrue/falseand nothing in between π
β¨ SEE ALSO β¨
al_create_sub_bitmap(3)β the one that actually makes the sub-bitmap πal_get_parent_bitmap(3)β for when you wanna know who her parent is π¦
and that's the page!! short and sweet, just like she is π mwah π
this has been the Allegro reference manual β a whole mood, honestly ππ
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms