{The S-lang C Library Reference}: SLsmg_set_color_in_region

Next Previous Contents

## 30. SLsmg_set_color_in_region

Synopsis

  Change the color of a specifed region

Usage

  `void SLsmg_set_color_in_region (color, r, c, dr, dc)`

  > `

  >       int color;
  >       int r, c;
  >       unsigned int dr, dc;

  > `

Description

  `SLsmg_set_color_in_region` may be used to change the color of a rectangular region whose upper left corner is given by (`r`,`c`), and whose width and height is given by `dc` and `dr`, respectively. The color of the region is given by the `color` parameter.

See Also

  `SLsmg_draw_box, SLsmg_set_color`

Next Previous Contents