<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9"> <TITLE> {The S-lang C Library Reference}: SLsmg_draw_box</TITLE> <LINK HREF="cref-30.html" REL=next> <LINK HREF="cref-28.html" REL=previous> <LINK HREF="cref.html#toc29" REL=contents> </HEAD> <BODY> <A HREF="cref-30.html">Next</A> <A HREF="cref-28.html">Previous</A> <A HREF="cref.html#toc29">Contents</A> <HR> <H2><A NAME="SLsmg_draw_box"></A> <A NAME="s29">29. <B>SLsmg_draw_box</B></A></H2> <P> <DL> <DT><B> Synopsis </B><DD><P>Draw a box on the virtual display <DT><B> Usage </B><DD><P><CODE>void SLsmg_draw_box (int r, int c, unsigned int dr, unsigned int dc)</CODE> <DT><B> Description </B><DD><P><CODE>SLsmg_draw_box</CODE> uses the <CODE>SLsmg_draw_hline</CODE> and <CODE>SLsmg_draw_vline</CODE> functions to draw a rectangular box on the virtual display. The box's upper left corner is placed at row <CODE>r</CODE> and column <CODE>c</CODE>. The width and length of the box is specified by <CODE>dc</CODE> and <CODE>dr</CODE>, respectively. <DT><B> See Also </B><DD><P><CODE>SLsmg_draw_vline, SLsmg_draw_hline, SLsmg_draw_object</CODE> </DL> <P> <P> <HR> <A HREF="cref-30.html">Next</A> <A HREF="cref-28.html">Previous</A> <A HREF="cref.html#toc29">Contents</A> </BODY> </HTML>