Function TCOD_context_present¶
Defined in File context.h
Function Documentation¶
-
TCOD_Error TCOD_context_present(struct TCOD_Context *context, const struct TCOD_Console *console, const struct TCOD_ViewportOptions *viewport)
Present a console to the screen, using a rendering context.
consoleis the console to present, the console can be any size.viewportis the optional viewport options to use. This will affect the scaling of the console with the current context. This can be NULL to use the default options, which are to stretch the console to fit the screen.Added in version 1.16.