textout_right_ex(3)
β¨ NAME β¨
hey bestie π welcome to the textout_right_ex(3) page from the Allegro manual π
textout_right_ex β writes a right aligned string on a bitmap. it's part of the Allegro game programming library, no cap β¨
πΈ SYNOPSIS πΈ
#include <allegro.h>
void textout_right_ex(BITMAP *bmp, const FONT *f, const char *s, int x,
int y, int color, int bg);
π DESCRIPTION π
okay so literally it's like textout_ex(), but the way it handles the x coordinate? iconic β that's the right edge of the string, not the left edge. periodt π
example, bestie:
textout_right_ex(screen, font, "Look at this color!",
SCREEN_W - 10, 10, my_yellow, -1);
π¦ SEE ALSO π¦
and that's the whole vibe π Allegro version 4.4.3, textout_right_ex(3), mwah π
π¦ 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