Function TCOD_printn_rgb¶
Defined in File console_printing.h
Function Documentation¶
-
int TCOD_printn_rgb(TCOD_Console *console, TCOD_PrintParamsRGB params, int n, const char *str)¶
Prints n-bytes of a string string to the console.
- Parameters
console – A pointer to a TCOD_Console.
params – Information about how the string should be printed
str – The string to be read from.
n – Length of string in bytes
- Returns
An error code if less than 0
New in version 1.23.