rect_8h.html revision 5d1f7b1de12d16ceb2c938c56701a3e8bfa558f7
1{{+bindTo:partials.standard_nacl_article}}
2<h1>rect.h File Reference</h1>
3<div id="doxygen-ref">
4{{- dummy div to appease doxygen -}}
5  <div>
6<!-- Generated by Doxygen 1.7.6.1 -->
7
8
9</div>
10<!--header-->
11<div class="contents">
12<div class="textblock"><div class="dynheader">
13Include dependency graph for rect.h:</div>
14<div class="dyncontent">
15<div class="center"><img src="rect_8h__incl.png" border="0" usemap="#rect_8h" alt="" /></div>
16<map name="rect_8h" id="rect_8h">
17</map>
18</div>
19</div><h2>
20Classes</h2><table class="memberdecls">
21
22<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_rect.html">pp::Rect</a></td></tr>
23<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A 2 dimensional rectangle.  <a href="classpp_1_1_rect.html#details">More...</a><br /></td></tr>
24</table><h2>
25Namespaces</h2><table class="memberdecls">
26<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepp.html">pp</a></td></tr>
27</table><h2>
28Functions</h2><table class="memberdecls">
29<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</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> &amp;lhs, const <a class="el" href="classpp_1_1_rect.html">pp::Rect</a> &amp;rhs)</td></tr>
30<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</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> &amp;lhs, const <a class="el" href="classpp_1_1_rect.html">pp::Rect</a> &amp;rhs)</td></tr>
31</table>
32<hr /><a name="details" id="details"></a><h2>Detailed Description</h2>
33<div class="textblock"><p>This file defines the APIs for creating a 2 dimensional rectangle. </p>
34</div><hr /><h2>Function Documentation</h2>
35<a class="anchor" id="a29f92b097dbed35ecf5f5ab1932a644e"></a><!-- doxytag: member="rect.h::operator!=" ref="a29f92b097dbed35ecf5f5ab1932a644e" args="(const pp::Rect &amp;lhs, const pp::Rect &amp;rhs)" -->
36<div class="memitem">
37<div class="memproto">
38<table class="memname">
39<tr>
40<td class="memname">bool operator!= </td>
41<td>(</td>
42<td class="paramtype">const <a class="el" href="classpp_1_1_rect.html">pp::Rect</a> &amp;&#160;</td>
43<td class="paramname"><em>lhs</em>, </td>
44</tr>
45<tr>
46<td class="paramkey"></td>
47<td></td>
48<td class="paramtype">const <a class="el" href="classpp_1_1_rect.html">pp::Rect</a> &amp;&#160;</td>
49<td class="paramname"><em>rhs</em>&#160;</td>
50</tr>
51<tr>
52<td></td>
53<td>)</td>
54<td></td><td><code> [inline]</code></td>
55</tr>
56</table>
57</div>
58<div class="memdoc">
59<p>This function determines whether two Rects are not equal. </p>
60<dl class="params"><dt><b>Parameters:</b></dt><dd>
61<table class="params">
62<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>
63<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>
64</table>
65</dd>
66</dl>
67<dl class="return"><dt><b>Returns:</b></dt><dd>true if the given Rects are equal, otherwise false. </dd></dl>
68</div>
69</div>
70<a class="anchor" id="a79b9bc57ea3e03a0e56b7975b4ffd401"></a><!-- doxytag: member="rect.h::operator==" ref="a79b9bc57ea3e03a0e56b7975b4ffd401" args="(const pp::Rect &amp;lhs, const pp::Rect &amp;rhs)" -->
71<div class="memitem">
72<div class="memproto">
73<table class="memname">
74<tr>
75<td class="memname">bool operator== </td>
76<td>(</td>
77<td class="paramtype">const <a class="el" href="classpp_1_1_rect.html">pp::Rect</a> &amp;&#160;</td>
78<td class="paramname"><em>lhs</em>, </td>
79</tr>
80<tr>
81<td class="paramkey"></td>
82<td></td>
83<td class="paramtype">const <a class="el" href="classpp_1_1_rect.html">pp::Rect</a> &amp;&#160;</td>
84<td class="paramname"><em>rhs</em>&#160;</td>
85</tr>
86<tr>
87<td></td>
88<td>)</td>
89<td></td><td><code> [inline]</code></td>
90</tr>
91</table>
92</div>
93<div class="memdoc">
94<p>This function determines whether the x, y, width, and height values of two rectangles and are equal. </p>
95<dl class="params"><dt><b>Parameters:</b></dt><dd>
96<table class="params">
97<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>
98<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>
99</table>
100</dd>
101</dl>
102<dl class="return"><dt><b>Returns:</b></dt><dd>true if they are equal, false if unequal. </dd></dl>
103</div>
104</div>
105</div><!-- contents -->
106</div>
107{{/partials.standard_nacl_article}}
108