<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> {The S-lang C Library Reference}: SLsmg_fill_region</TITLE>
<LINK HREF="cref-2.html" REL=next>

<LINK HREF="cref.html#toc1" REL=contents>
</HEAD>
<BODY>
<A HREF="cref-2.html">Next</A>
Previous
<A HREF="cref.html#toc1">Contents</A>
<HR>
<H2><A NAME="SLsmg_fill_region"></A> <A NAME="s1">1. <B>SLsmg_fill_region</B></A></H2>

<P>
<DL>
<DT><B> Synopsis </B><DD><P>Fill a rectangular region with a character
<DT><B> Usage </B><DD><P><CODE>void SLsmg_fill_region (r, c, nr, nc, ch)</CODE>
<BLOCKQUOTE><CODE>
<PRE>
    int r
    int c
    unsigned int nr
    unsigned int nc
    unsigned char ch
</PRE>
</CODE></BLOCKQUOTE>
<DT><B> Description </B><DD><P>The <CODE>SLsmg_fill_region</CODE> function may be used to a 
rectangular region with the character <CODE>ch</CODE> in the current color.
The rectangle's upper left corner is at row <CODE>r</CODE> and column
<CODE>c</CODE>, and spans <CODE>nr</CODE> rows and <CODE>nc</CODE> columns.  The position
of the virtual cursor will be left at (<CODE>r</CODE>, <CODE>c</CODE>).
<DT><B> See Also </B><DD><P><CODE>SLsmg_write_char, SLsmg_set_color</CODE>
</DL>
<P>
<P>
<P>
<P>
<HR>
<A HREF="cref-2.html">Next</A>
Previous
<A HREF="cref.html#toc1">Contents</A>
</BODY>
</HTML>
