<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> {The S-lang C Library Reference}: SLsmg_set_color_in_region</TITLE>
<LINK HREF="cref-31.html" REL=next>
<LINK HREF="cref-29.html" REL=previous>
<LINK HREF="cref.html#toc30" REL=contents>
</HEAD>
<BODY>
<A HREF="cref-31.html">Next</A>
<A HREF="cref-29.html">Previous</A>
<A HREF="cref.html#toc30">Contents</A>
<HR>
<H2><A NAME="SLsmg_set_color_in_region"></A> <A NAME="s30">30. <B>SLsmg_set_color_in_region</B></A></H2>

<P>
<DL>
<DT><B> Synopsis </B><DD><P>Change the color of a specifed region
<DT><B> Usage </B><DD><P><CODE>void SLsmg_set_color_in_region (color, r, c, dr, dc)</CODE>
<BLOCKQUOTE><CODE>
<PRE>
  int color;
  int r, c;
  unsigned int dr, dc;
</PRE>
</CODE></BLOCKQUOTE>
<DT><B> Description </B><DD><P><CODE>SLsmg_set_color_in_region</CODE> may be used to change the color of a
rectangular region whose upper left corner is given by
(<CODE>r</CODE>,<CODE>c</CODE>), and whose width and height is given by <CODE>dc</CODE>
and <CODE>dr</CODE>, respectively.  The color of the region is given by the
<CODE>color</CODE> parameter.
<DT><B> See Also </B><DD><P><CODE>SLsmg_draw_box, SLsmg_set_color</CODE>
</DL>
<P>
<P>
<P>
<HR>
<A HREF="cref-31.html">Next</A>
<A HREF="cref-29.html">Previous</A>
<A HREF="cref.html#toc30">Contents</A>
</BODY>
</HTML>
