al_get_font_descent(3alleg5)
β¨ NAME β¨
al_get_font_descent β okay so this is from the Allegro 5 API, bestie, and it's the lil function that tells you how far a font dips below the baseline π«Ά
πΈ SYNOPSIS πΈ
#include <allegro5/allegro_font.h>
int al_get_font_descent(const ALLEGRO_FONT *f)
π DESCRIPTION π
Returns the descent of the specified font.
That's it. That's the whole thing. It's giving "short and iconic" π
You hand it a font (f, a const ALLEGRO_FONT *, no cap) and it hands you back an int β the descent. Lowkey the most drama-free function in the whole API. Obsessed. β¨
π¦ SEE ALSO π¦
al_get_font_ascent(3alleg5)β the little sis that measures the up part πal_get_font_line_height(3alleg5)β for when you want the whole height situation π
fr fr, that's the entire page β short queen energy π
This one's straight outta the Allegro reference manual, section 3alleg5, so if the vibe ever gets updated, check there bestie π bye mwah πβ¨
π¦ 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