Function TCOD_console_print_ex

Function Documentation

void TCOD_console_print_ex(TCOD_Console *con, int x, int y, TCOD_bkgnd_flag_t flag, TCOD_alignment_t alignment, const char *fmt, ...)

Print an EASCII string on a console, 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.

  • 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.