![]() |
![]()
| ![]() |
![]()
NAMEtextout_centre_ex - Writes a centered string on a bitmap. Allegro game programming library. SYNOPSIS#include <allegro.h> void textout_centre_ex(BITMAP *bmp, const FONT *f, const char *s, int x, y, int color, int bg); DESCRIPTIONLike textout_ex(), but interprets the x coordinate as the centre rather than the left edge of the string. Example:
SEE ALSOtextout_ex(3), textprintf_centre_ex(3)
|