<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_Rect::CL_Rect - ClanLib Game SDK</TITLE> <STYLE TYPE="text/css"><!-- HTML BODY { font-family: verdana, helvetica, sans-serif; font-size: 12px; } H1 { font-size: 22px; } H2 { font-size: 18px; } H3 { font-size: 16px; } H4 { font-size: 14px; } P { font-size: 12px; } LI { font-size: 12px; } --></STYLE> </HEAD> <body bgcolor=white text=black link=blue vlink=#800080> <center> <img src="http://clanlib.org/gfx/clanlib.png"> </center> <!-- clanlib header end --> <center> <p> <a href="http://clanlib.org/docs.html">Home</a> | <a href="classes.html">All Classes</a> | <a href="modules.html">Grouped Classes</a> | <a href="index.html">Index</a> | <a href="search.html">Search</a> </p> </center> <h1>CL_Rect::CL_Rect</h1> <p> Constructs an rectangle.</p> <pre> CL_Rect(); CL_Rect( const CL_Rectf& rect); CL_Rect( int new_left, int new_top, int new_right, int new_bottom); CL_Rect( const CL_Point& p, const CL_Size& size); CL_Rect( const CL_Rect& rect); </pre> <p><b>Parameters:</b></p> <dl> <dt><i>left</i></dt><dd>Initial left position of rectangle.</dd> <dt><i>top</i></dt><dd>Initial top position of rectangle.</dd> <dt><i>right</i></dt><dd>Initial right position of rectangle.</dd> <dt><i>bottom</i></dt><dd>Initial bottom position of rectangle.</dd> <dt><i>point</i></dt><dd>Initial top-left position of rectangle.</dd> <dt><i>size</i></dt><dd>Initial size of rectangle.</dd> <dt><i>rect</i></dt><dd>Initial rectangle position and size.</dd> </dl> <p><b>See also:</b></p> <p><a href="CL_Rect.html">CL_Rect</a> | <a href="CL_Size.html">CL_Size</a> | <a href="CL_Rectf.html">CL_Rectf</a> | <a href="CL_Point.html">CL_Point</a></p> <!-- clanlib footer begin --> <center><br><br><font color="#a0a0a0"> Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>. </font></center> </body> </html> <!-- clanlib footer end -->