1textout_right_ex(3) Allegro manual textout_right_ex(3)
2
3
4
6 textout_right_ex - Writes a right aligned string on a bitmap. Allegro
7 game programming library.
8
10 #include <allegro.h>
11
12
13 void textout_right_ex(BITMAP *bmp, const FONT *f, const char *s, int x,
14 int y, int color, int bg);
15
17 Like textout_ex(), but interprets the x coordinate as the right rather
18 than the left edge of the string. Example:
19
20 textout_right_ex(screen, font, "Look at this color!",
21 SCREEN_W - 10, 10, my_yellow, -1);
22
23
25 textout_ex(3), textprintf_right_ex(3)
26
27
28
29Allegro version 4.4.3 textout_right_ex(3)