<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Guichan: gcn::ClipRectangle Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.7 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li id="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul></div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul></div> <div class="nav"> <a class="el" href="namespacegcn.html">gcn</a>::<a class="el" href="classgcn_1_1ClipRectangle.html">ClipRectangle</a></div> <h1>gcn::ClipRectangle Class Reference</h1><!-- doxytag: class="gcn::ClipRectangle" --><!-- doxytag: inherits="gcn::Rectangle" --><code>#include <<a class="el" href="cliprectangle_8hpp-source.html">cliprectangle.hpp</a>></code> <p> <p>Inheritance diagram for gcn::ClipRectangle: <p><center><img src="classgcn_1_1ClipRectangle.png" usemap="#gcn::ClipRectangle_map" border="0" alt=""></center> <map name="gcn::ClipRectangle_map"> <area href="classgcn_1_1Rectangle.html" alt="gcn::Rectangle" shape="rect" coords="0,0,117,24"> </map> <a href="classgcn_1_1ClipRectangle-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> A rectangle used when dealing with clipping. <p> It is a regular <a class="el" href="classgcn_1_1Rectangle.html">Rectangle</a> extended with variables for x offsets and y offsets. <p> <p> Definition at line <a class="el" href="cliprectangle_8hpp-source.html#l00069">69</a> of file <a class="el" href="cliprectangle_8hpp-source.html">cliprectangle.hpp</a>.<table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f4b463769706f943b604ceaaf583d27c"></a><!-- doxytag: member="gcn::ClipRectangle::ClipRectangle" ref="f4b463769706f943b604ceaaf583d27c" args="()" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcn_1_1ClipRectangle.html#f4b463769706f943b604ceaaf583d27c">ClipRectangle</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcn_1_1ClipRectangle.html#64655edef4076373470ea6146063dd92">ClipRectangle</a> (int <a class="el" href="classgcn_1_1Rectangle.html#b6dc4177d60791f7bbbd568196579876">x</a>, int <a class="el" href="classgcn_1_1Rectangle.html#327e06edb84f23e33e271e05478bfbc3">y</a>, int <a class="el" href="classgcn_1_1Rectangle.html#9a79785063de4f8fc5b414636e20be29">width</a>, int <a class="el" href="classgcn_1_1Rectangle.html#cc24f64d0e557df385ca7afd41cb38e6">height</a>, int <a class="el" href="classgcn_1_1ClipRectangle.html#fe946bf9f906a4f571c9a6bdbd9fb730">xOffset</a>, int <a class="el" href="classgcn_1_1ClipRectangle.html#322306940b67c677e14cb0cab5b6eb3e">yOffset</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#64655edef4076373470ea6146063dd92"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classgcn_1_1ClipRectangle.html">ClipRectangle</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcn_1_1ClipRectangle.html#f4d051916713471ee1025a5056b47a94">operator=</a> (const <a class="el" href="classgcn_1_1Rectangle.html">Rectangle</a> &other)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copies x, y, width and height field from a <a class="el" href="classgcn_1_1Rectangle.html">Rectangle</a>. <a href="#f4d051916713471ee1025a5056b47a94"></a><br></td></tr> <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fe946bf9f906a4f571c9a6bdbd9fb730"></a><!-- doxytag: member="gcn::ClipRectangle::xOffset" ref="fe946bf9f906a4f571c9a6bdbd9fb730" args="" --> int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcn_1_1ClipRectangle.html#fe946bf9f906a4f571c9a6bdbd9fb730">xOffset</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">x-origin of drawing (used by <a class="el" href="classgcn_1_1Graphics.html">Graphics</a>). <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="322306940b67c677e14cb0cab5b6eb3e"></a><!-- doxytag: member="gcn::ClipRectangle::yOffset" ref="322306940b67c677e14cb0cab5b6eb3e" args="" --> int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcn_1_1ClipRectangle.html#322306940b67c677e14cb0cab5b6eb3e">yOffset</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">y-origin of drawing (used by <a class="el" href="classgcn_1_1Graphics.html">Graphics</a>). <br></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="64655edef4076373470ea6146063dd92"></a><!-- doxytag: member="gcn::ClipRectangle::ClipRectangle" ref="64655edef4076373470ea6146063dd92" args="(int x, int y, int width, int height, int xOffset, int yOffset)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gcn::ClipRectangle::ClipRectangle </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>width</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>height</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>xOffset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>yOffset</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Constructor. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>the rectangle x coordinate. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>the rectangle y coordinate. </td></tr> <tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>the rectangle width. </td></tr> <tr><td valign="top"></td><td valign="top"><em>height</em> </td><td>the rectangle height. </td></tr> <tr><td valign="top"></td><td valign="top"><em>xOffset</em> </td><td>origin of drawing (used by <a class="el" href="classgcn_1_1Graphics.html">Graphics</a>). </td></tr> <tr><td valign="top"></td><td valign="top"><em>yOffset</em> </td><td>origin of drawing (used by <a class="el" href="classgcn_1_1Graphics.html">Graphics</a>) . </td></tr> </table> </dl> <p> Definition at line <a class="el" href="cliprectangle_8cpp-source.html#l00070">70</a> of file <a class="el" href="cliprectangle_8cpp-source.html">cliprectangle.cpp</a>. </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="f4d051916713471ee1025a5056b47a94"></a><!-- doxytag: member="gcn::ClipRectangle::operator=" ref="f4d051916713471ee1025a5056b47a94" args="(const Rectangle &other)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classgcn_1_1ClipRectangle.html">ClipRectangle</a> & gcn::ClipRectangle::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgcn_1_1Rectangle.html">Rectangle</a> & </td> <td class="paramname"> <em>other</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Copies x, y, width and height field from a <a class="el" href="classgcn_1_1Rectangle.html">Rectangle</a>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>other</em> </td><td>the <a class="el" href="classgcn_1_1Rectangle.html">Rectangle</a> to copy from. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>a <a class="el" href="classgcn_1_1ClipRectangle.html">ClipRectangle</a>. </dd></dl> <p> Definition at line <a class="el" href="cliprectangle_8cpp-source.html#l00080">80</a> of file <a class="el" href="cliprectangle_8cpp-source.html">cliprectangle.cpp</a>. <p> References <a class="el" href="rectangle_8hpp-source.html#l00114">gcn::Rectangle::height</a>, <a class="el" href="rectangle_8hpp-source.html#l00113">gcn::Rectangle::width</a>, <a class="el" href="rectangle_8hpp-source.html#l00111">gcn::Rectangle::x</a>, and <a class="el" href="rectangle_8hpp-source.html#l00112">gcn::Rectangle::y</a>. </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="cliprectangle_8hpp-source.html">cliprectangle.hpp</a><li><a class="el" href="cliprectangle_8cpp-source.html">cliprectangle.cpp</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Sat Jul 29 19:38:48 2006 for Guichan by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address> </body> </html>