Function TCOD_vprintf_rgb

Function Documentation

int TCOD_vprintf_rgb(TCOD_Console *console, TCOD_PrintParamsRGB params, const char *fmt, va_list args)

Prints a formatted string using va_list.

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 format string

Returns

An error code if less than 0

New in version 1.23.