Next Previous Contents

1. SLsmg_fill_region


Fill a rectangular region with a character


void SLsmg_fill_region (r, c, nr, nc, ch)

    int r
    int c
    unsigned int nr
    unsigned int nc
    unsigned char ch

The SLsmg_fill_region function may be used to a rectangular region with the character ch in the current color. The rectangle's upper left corner is at row r and column c, and spans nr rows and nc columns. The position of the virtual cursor will be left at (r, c).

See Also

SLsmg_write_char, SLsmg_set_color

Next Previous Contents