libtcod
  • Function TCOD_context_recommended_console_size
    • Function Documentation
      • TCOD_context_recommended_console_size()
libtcod
  • Function TCOD_context_recommended_console_size
  • View page source

Function TCOD_context_recommended_console_size¶

  • Defined in File context.h

Function Documentation¶

TCOD_Error TCOD_context_recommended_console_size(struct TCOD_Context *context, float magnification, int *columns, int *rows)

Set columns and rows to the recommended console size for this context.

magnification determines the apparent size of the tiles on the output. Values of 0.0f or lower will default to 1.0f.

Added in version 1.16.


© Copyright 2008-2022, Richard Tew.

Built with Sphinx using a theme provided by Read the Docs.