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 π¦
gui_textout_ex(3alleg4)β go peek at this one too, bestie. π«Ά
kisses from the Allegro manual, version 4.4.3, and this iconic little page is gui_strlen(3alleg4) β slay, bye! πβ¨
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms