Function TCOD_printf_rgb

Function Documentation

int TCOD_printf_rgb(TCOD_Console *console, TCOD_PrintParamsRGB params, const char *fmt, ...)

Prints a formatted string to the console.

Parameters
  • console – A pointer to a TCOD_Console.

  • params – Information about how the string should be printed

  • fmt – The format string for a vprintf-like function.

  • args – The arguments for the formatted string.

Returns

An error code if less than 0

New in version 1.23.