HomeManualTopicsTypesSymbols

std::draw_character

draws a character at the given position

Parameters

screen
some kind of screen
x
x-coordinate of the character
y
y-coordinate of the character
chr
the character to draw

Result

screen
the updated screen

Description

This method uses the current foreground and background colour and obeyes the current window.

Example

draw_character &screen x y '+'

Topic

Terminal

See also

std::draw_text draws text at the given position
std::set_character_at sets the character at the given position
std::set_text_colour_at sets the foreground color at the given position
std::set_background_colour_at sets the background colour at the given position

Implemented by

std_types::screen draws a character at the current screen position