1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
|
{{+bindTo:partials.standard_nacl_api}}
<h1>rect.h File Reference</h1>
<div id="doxygen-ref">
{{- dummy div to appease doxygen -}}
<div>
<!-- Generated by Doxygen 1.7.6.1 -->
</div>
<!--header-->
<div class="contents">
<div class="textblock"><div class="dynheader">
Include dependency graph for rect.h:</div>
<div class="dyncontent">
<div class="center"><img src="rect_8h__incl.png" border="0" usemap="#rect_8h" alt="" /></div>
<map name="rect_8h" id="rect_8h">
</map>
</div>
</div><h2>
Classes</h2><table class="memberdecls">
<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_rect.html">pp::Rect</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A 2 dimensional rectangle. <a href="classpp_1_1_rect.html#details">More...</a><br /></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html">pp::FloatRect</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A 2 dimensional rectangle. <a href="classpp_1_1_float_rect.html#details">More...</a><br /></td></tr>
</table><h2>
Namespaces</h2><table class="memberdecls">
<tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepp.html">pp</a></td></tr>
</table><h2>
Functions</h2><table class="memberdecls">
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="rect_8h.html#a79b9bc57ea3e03a0e56b7975b4ffd401">operator==</a> (const <a class="el" href="classpp_1_1_rect.html">pp::Rect</a> &lhs, const <a class="el" href="classpp_1_1_rect.html">pp::Rect</a> &rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="rect_8h.html#a29f92b097dbed35ecf5f5ab1932a644e">operator!=</a> (const <a class="el" href="classpp_1_1_rect.html">pp::Rect</a> &lhs, const <a class="el" href="classpp_1_1_rect.html">pp::Rect</a> &rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="rect_8h.html#aef5ba071d7dd3b4a51d5750f056a2649">operator==</a> (const <a class="el" href="classpp_1_1_float_rect.html">pp::FloatRect</a> &lhs, const <a class="el" href="classpp_1_1_float_rect.html">pp::FloatRect</a> &rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="rect_8h.html#acdab4b41e6fa67e079c9c54407fc9153">operator!=</a> (const <a class="el" href="classpp_1_1_float_rect.html">pp::FloatRect</a> &lhs, const <a class="el" href="classpp_1_1_float_rect.html">pp::FloatRect</a> &rhs)</td></tr>
</table>
<hr /><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This file defines the APIs for creating a 2 dimensional rectangle. </p>
</div><hr /><h2>Function Documentation</h2>
<a class="anchor" id="a29f92b097dbed35ecf5f5ab1932a644e"></a><!-- doxytag: member="rect.h::operator!=" ref="a29f92b097dbed35ecf5f5ab1932a644e" args="(const pp::Rect &lhs, const pp::Rect &rhs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classpp_1_1_rect.html">pp::Rect</a> & </td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classpp_1_1_rect.html">pp::Rect</a> & </td>
<td class="paramname"><em>rhs</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This function determines whether two Rects are not equal. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">lhs</td><td>The <code>Rect</code> on the left-hand side of the equation. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">rhs</td><td>The <code>Rect</code> on the right-hand side of the equation.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the given Rects are equal, otherwise false. </dd></dl>
</div>
</div>
<a class="anchor" id="acdab4b41e6fa67e079c9c54407fc9153"></a><!-- doxytag: member="rect.h::operator!=" ref="acdab4b41e6fa67e079c9c54407fc9153" args="(const pp::FloatRect &lhs, const pp::FloatRect &rhs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classpp_1_1_float_rect.html">pp::FloatRect</a> & </td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classpp_1_1_float_rect.html">pp::FloatRect</a> & </td>
<td class="paramname"><em>rhs</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This function determines whether two Rects are not equal. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">lhs</td><td>The <code>FloatRect</code> on the left-hand side of the equation. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">rhs</td><td>The <code>FloatRect</code> on the right-hand side of the equation.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the given Rects are equal, otherwise false. </dd></dl>
</div>
</div>
<a class="anchor" id="a79b9bc57ea3e03a0e56b7975b4ffd401"></a><!-- doxytag: member="rect.h::operator==" ref="a79b9bc57ea3e03a0e56b7975b4ffd401" args="(const pp::Rect &lhs, const pp::Rect &rhs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classpp_1_1_rect.html">pp::Rect</a> & </td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classpp_1_1_rect.html">pp::Rect</a> & </td>
<td class="paramname"><em>rhs</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This function determines whether the x, y, width, and height values of two rectangles and are equal. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">lhs</td><td>The <code>Rect</code> on the left-hand side of the equation. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">rhs</td><td>The <code>Rect</code> on the right-hand side of the equation.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if they are equal, false if unequal. </dd></dl>
</div>
</div>
<a class="anchor" id="aef5ba071d7dd3b4a51d5750f056a2649"></a><!-- doxytag: member="rect.h::operator==" ref="aef5ba071d7dd3b4a51d5750f056a2649" args="(const pp::FloatRect &lhs, const pp::FloatRect &rhs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classpp_1_1_float_rect.html">pp::FloatRect</a> & </td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classpp_1_1_float_rect.html">pp::FloatRect</a> & </td>
<td class="paramname"><em>rhs</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This function determines whether the x, y, width, and height values of two rectangles and are equal. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">lhs</td><td>The <code>FloatRect</code> on the left-hand side of the equation. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">rhs</td><td>The <code>FloatRect</code> on the right-hand side of the equation.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if they are equal, false if unequal. </dd></dl>
</div>
</div>
</div><!-- contents -->
</div>
{{/partials.standard_nacl_api}}
|