chromium/native_client_sdk/doc_generated/pepper_stable/cpp/rect_8h.html

{{+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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_rect.html">pp::Rect</a></td></tr>
<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>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</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">&#160;</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 &#160;</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&#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>
<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>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</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> &amp;lhs, const <a class="el" href="classpp_1_1_float_rect.html">pp::FloatRect</a> &amp;rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</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> &amp;lhs, const <a class="el" href="classpp_1_1_float_rect.html">pp::FloatRect</a> &amp;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 &amp;lhs, const pp::Rect &amp;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> &amp;&#160;</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> &amp;&#160;</td>
<td class="paramname"><em>rhs</em>&#160;</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 &amp;lhs, const pp::FloatRect &amp;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> &amp;&#160;</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> &amp;&#160;</td>
<td class="paramname"><em>rhs</em>&#160;</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 &amp;lhs, const pp::Rect &amp;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> &amp;&#160;</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> &amp;&#160;</td>
<td class="paramname"><em>rhs</em>&#160;</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 &amp;lhs, const pp::FloatRect &amp;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> &amp;&#160;</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> &amp;&#160;</td>
<td class="paramname"><em>rhs</em>&#160;</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}}