Function TCOD_console_vline

Function Documentation

void TCOD_console_vline(TCOD_Console *con, int x, int y, int l, TCOD_bkgnd_flag_t flag)

Draw a vertical line using the default colors.

This function makes assumptions about the fonts character encoding. It will fail if the font encoding is not cp437.

Parameters
  • con – A console pointer.

  • x – The starting X coordinate, the left-most position being 0.

  • y – The starting Y coordinate, the top-most position being 0.

  • l – The height of the line.

  • flag – The blending flag.