textout_right_ex(3alleg4)
β¨ textout_right_ex β¨
okay bestie, welcome to the Allegro manual π this one's called textout_right_ex and it lives in section 3alleg4 β it's the girl who writes a right aligned string onto a bitmap, and honestly? she's serving the Allegro game programming library realness π
πΈ 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 π
so it's literally textout_ex() but make it right-aligned β the x coordinate is the right edge of the string instead of the left one. tiny change, huge slay, no cap π«Ά
here's the vibe in code:
textout_right_ex(screen, font, "Look at this color!",
SCREEN_W - 10, 10, my_yellow, -1);
π SEE ALSO π
and that's the whole page, periodt π Allegro, version 4.4.3 β textout_right_ex(3alleg4) β mwah, go text your friends about it πβ¨π¦
π¦ 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