blob: 955b353e9b76a59c818660c2ab9d243eb0c7c7cb [file] [log] [blame]
{{+bindTo:partials.standard_nacl_api}}
<h1>size.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 size.h:</div>
<div class="dyncontent">
<div class="center"><img src="size_8h__incl.png" border="0" usemap="#size_8h" alt="" /></div>
<map name="size_8h" id="size_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_size.html">pp::Size</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A size of an object based on width and height. <a href="classpp_1_1_size.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_size.html">pp::FloatSize</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A size of an object based on width and height. <a href="classpp_1_1_float_size.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="size_8h.html#ad3d13cbe3886f37d082352f261892564">operator==</a> (const <a class="el" href="classpp_1_1_size.html">pp::Size</a> &amp;lhs, const <a class="el" href="classpp_1_1_size.html">pp::Size</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="size_8h.html#a915ab1f503e22dc6662ad56caa1eb7c3">operator!=</a> (const <a class="el" href="classpp_1_1_size.html">pp::Size</a> &amp;lhs, const <a class="el" href="classpp_1_1_size.html">pp::Size</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="size_8h.html#a227bd323e3966f98cc11f640d291b9a6">operator==</a> (const <a class="el" href="classpp_1_1_float_size.html">pp::FloatSize</a> &amp;lhs, const <a class="el" href="classpp_1_1_float_size.html">pp::FloatSize</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="size_8h.html#acc55d56de0ab6dd4ca35730cb6672ddd">operator!=</a> (const <a class="el" href="classpp_1_1_float_size.html">pp::FloatSize</a> &amp;lhs, const <a class="el" href="classpp_1_1_float_size.html">pp::FloatSize</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 API to create a size based on width and height. </p>
</div><hr /><h2>Function Documentation</h2>
<a class="anchor" id="a915ab1f503e22dc6662ad56caa1eb7c3"></a><!-- doxytag: member="size.h::operator!=" ref="a915ab1f503e22dc6662ad56caa1eb7c3" args="(const pp::Size &amp;lhs, const pp::Size &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_size.html">pp::Size</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_size.html">pp::Size</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 <code>Sizes</code> 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>Size</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>Size</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 <code>Size</code> of lhs are equal to the <code>Size</code> of rhs, otherwise false. </dd></dl>
</div>
</div>
<a class="anchor" id="acc55d56de0ab6dd4ca35730cb6672ddd"></a><!-- doxytag: member="size.h::operator!=" ref="acc55d56de0ab6dd4ca35730cb6672ddd" args="(const pp::FloatSize &amp;lhs, const pp::FloatSize &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_size.html">pp::FloatSize</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_size.html">pp::FloatSize</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 <code>FloatSizes</code> 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>FloatSize</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>FloatSize</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 <code>FloatSize</code> of lhs are equal to the <code>FloatSize</code> of rhs, otherwise false. </dd></dl>
</div>
</div>
<a class="anchor" id="ad3d13cbe3886f37d082352f261892564"></a><!-- doxytag: member="size.h::operator==" ref="ad3d13cbe3886f37d082352f261892564" args="(const pp::Size &amp;lhs, const pp::Size &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_size.html">pp::Size</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_size.html">pp::Size</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 width and height values of two sizes 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>Size</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>Size</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="a227bd323e3966f98cc11f640d291b9a6"></a><!-- doxytag: member="size.h::operator==" ref="a227bd323e3966f98cc11f640d291b9a6" args="(const pp::FloatSize &amp;lhs, const pp::FloatSize &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_size.html">pp::FloatSize</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_size.html">pp::FloatSize</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 width and height values of two sizes 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>FloatSize</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>FloatSize</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}}