get_font_range_begin(3)
β¨ get_font_range_begin β¨
okay so bestie, we're diving into the Allegro manual today, and this one is get_font_range_begin(3) β yes, that's the manual page name, and yes, it's a real one, it's not me being dramatic. π
πΈ NAME πΈ
get_font_range_begin β returns the start of a character range in a font. And like, it lives in the Allegro game programming library</>, which is the whole vibe here. π
π¦ SYNOPSIS π¦
#include <allegro.h>
int get_font_range_begin(FONT *f, int range)
π DESCRIPTION π
okay so here's the tea: this function lets you find out the start of a specific character range for a font. that's literally it, that's the whole job. π«Ά
you've got options for what you pass as the range parameter, and the way this works is:
- pass
-1if you wanna know the start of the whole font range β the entire thing, the full picture, main character energy - or pass a number from
0to (but not including)get_font_ranges(f)if you want the start of one specific character range in the font
like, the upper bound is exclusive, bestie, don't come for me, that's just how it is. π
and here's an example so you can see it in the wild:
printf("The font has a character range of %d - %d\n",
get_font_range_begin(font, -1),
get_font_range_end(font, -1));
look at that, get_font_range_begin and get_font_range_end holding hands, iconic duo fr fr. π
β RETURN VALUE β
it returns the first character in the font range, or -1 if that information is not available. that's the whole deal. no cap. π
π SEE ALSO π
go read those too, they're all part of the same little font family. π
and that's the page, bestie!! this was Allegro version 4.4.3, brought to you by the Allegro manual, dated way back when but still serving looks. mwah, go forth and range responsibly. πβ¨π§
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms