Function TCOD_console_draw_rect_rgb¶
Defined in File console_drawing.h
Function Documentation¶
-
TCOD_Error TCOD_console_draw_rect_rgb(TCOD_Console *console, int x, int y, int width, int height, int ch, const TCOD_color_t *fg, const TCOD_color_t *bg, TCOD_bkgnd_flag_t flag)
Draw a rectangle on a
consolewith a shape ofx,y,width,height.If
chis 0 then the character code will not be updated.If
fg,bgis NULL then their respective colors will not be updated.