gui_strlen(3alleg4)

✨ NAME ✨

gui_strlen(3alleg4) β€” returns the length of a string in pixels. It's part of the Allegro game programming library, bestie. πŸ’–


🌸 SYNOPSIS 🌸

#include <allegro.h>

int gui_strlen(const char *s);

πŸŽ€ DESCRIPTION πŸŽ€

Okay so this one is a helper function for use by the GUI routines. It returns the length of a string in pixels, and it does that while ignoring & characters. No cap. So if you're measuring text for GUI stuff, it's giving pixel length, periodt. πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹


kisses from the Allegro manual, version 4.4.3, and this iconic little page is gui_strlen(3alleg4) β€” slay, bye! πŸ’–βœ¨