{The S-lang C Library Reference}: SLsmg_fill_region

Next Previous Contents

## 1. SLsmg_fill_region

Synopsis

  Fill a rectangular region with a character

Usage

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

  > `

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

  > `

Description

  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