Function TCOD_console_print_rect_ex¶
Defined in File console_printing.h
Function Documentation¶
-
int TCOD_console_print_rect_ex(TCOD_Console *con, int x, int y, int w, int h, TCOD_bkgnd_flag_t flag, TCOD_alignment_t alignment, const char *fmt, ...)
Print an EASCII string on a console constrained to a rectangle, using default colors.
- Parameters
con – A console pointer.
x – The starting X coordinate, the left-most position being 0.
y – The starting Y coordinate, the top-most position being 0.
w – The width of the region. If 0 then the maximum width will be used.
h – The height of the region. If 0 then the maximum height will be used.
flag – The blending flag.
alignment – The font alignment to use.
fmt – A format string as if passed to printf.
... – Variadic arguments as if passed to printf.
- Returns
The number of lines actually printed.