<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_Quad::CL_Quad - 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_Quad::CL_Quad</h1> <p> Constructs a quad.</p> <pre> CL_Quad(); CL_Quad( int new_x1, int new_y1, int new_x2, int new_y2, int new_x3, int new_y3, int new_x4, int new_y4); CL_Quad( const CL_Rect& rect); CL_Quad( const CL_Quad& q); </pre> <p><b>Parameters:</b></p> <dl> <dt><i>x1</i></dt><dd>x-coord for first point of quad.</dd> <dt><i>y1</i></dt><dd>y-coord for first point of quad.</dd> <dt><i>x2</i></dt><dd>x-coord for second point of quad.</dd> <dt><i>y2</i></dt><dd>y-coord for second of quad.</dd> <dt><i>x3</i></dt><dd>x-coord for third point of quad.</dd> <dt><i>y3</i></dt><dd>y-coord for third point of quad.</dd> <dt><i>x4</i></dt><dd>x-coord for forth point of quad.</dd> <dt><i>y4</i></dt><dd>y-coord for forth point of quad.</dd> <dt><i>rect</i></dt><dd>Rectangle used to initialize the quad.</dd> </dl> <p><b>See also:</b></p> <p><a href="CL_Rect.html">CL_Rect</a> | <a href="CL_Quad.html">CL_Quad</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 -->