![]() |
![]()
| ![]() |
![]()
NAMEtextout_justify_ex - Draws justified text within a region. Allegro game programming library. SYNOPSIS#include <allegro.h> void textout_justify_ex(BITMAP *bmp, const FONT *f, const char *s, int x1, int x2, int y, int diff, int color, int bg); DESCRIPTIONDraws justified text within the region x1-x2. If the amount of spare space is greater than the diff value, it will give up and draw regular left justified text instead. Example:
SEE ALSOtextout_ex(3), textprintf_justify_ex(3)
|