Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / native_client_sdk / doc_generated / pepper_stable / cpp / classpp_1_1_float_rect.html
1 {{+bindTo:partials.standard_nacl_api}}
2 <h1>pp::FloatRect Class 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
10 </div>
11 <!--header-->
12 <div class="contents">
13 <!-- doxytag: class="pp::FloatRect" -->
14 <p><a href="classpp_1_1_float_rect-members.html">List of all members.</a></p>
15 <h2>
16 Public Member Functions</h2><table class="memberdecls">
17
18 <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a00133448de297c5ed19b7831c456bf23">FloatRect</a> ()</td></tr>
19 <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#aaf4f5bb63c29eb79aa336bf0444d19ac">FloatRect</a> (const PP_FloatRect &amp;rect)</td></tr>
20 <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a8216cb8951805b04a00909b860a949dc">FloatRect</a> (float w, float h)</td></tr>
21 <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a02d2648692b0882ff54d812da3704aeb">FloatRect</a> (float <a class="el" href="classpp_1_1_float_rect.html#a4820c673dc07e6b35f8fc0c42368e92c">x</a>, float <a class="el" href="classpp_1_1_float_rect.html#ae31847965339e36aa1fe6c4cf8cf479c">y</a>, float w, float h)</td></tr>
22 <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a7072595c890bc203544e55cd926d72ae">FloatRect</a> (const <a class="el" href="classpp_1_1_float_size.html">FloatSize</a> &amp;s)</td></tr>
23 <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a643d926ee6f5e9208fccffd47c1d22be">FloatRect</a> (const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;origin, const <a class="el" href="classpp_1_1_float_size.html">FloatSize</a> &amp;size)</td></tr>
24 <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#aa64361055526791e34cba09d97d2cf75">~FloatRect</a> ()</td></tr>
25 <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a85c34bdfd11703d4cc86486b3f38a032">operator PP_FloatRect</a> () const </td></tr>
26 <tr><td class="memItemLeft" align="right" valign="top">const PP_FloatRect &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#aa63a6eab8caae819c7efb133b89e3ec2">pp_float_rect</a> () const </td></tr>
27 <tr><td class="memItemLeft" align="right" valign="top">PP_FloatRect &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a796ff93f77b488ac673b0e82a2527507">pp_float_rect</a> ()</td></tr>
28 <tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a4820c673dc07e6b35f8fc0c42368e92c">x</a> () const </td></tr>
29 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a52ed4022d98fc75e2bfd942ba0fb982f">set_x</a> (float in_x)</td></tr>
30 <tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#ae31847965339e36aa1fe6c4cf8cf479c">y</a> () const </td></tr>
31 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a3b3a43a2764b7c0b6e6fad7bed300164">set_y</a> (float in_y)</td></tr>
32 <tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a25ffcc41df9f488acf15613f20e240db">width</a> () const </td></tr>
33 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a9553c5bf8b2c00bc9eeb7a7c2c22d0f7">set_width</a> (float w)</td></tr>
34 <tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a9dc3d3004aacf708356a73e09d1cc96e">height</a> () const </td></tr>
35 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a81a0cc8fc8521167b34b10e75f94679f">set_height</a> (float h)</td></tr>
36 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_float_point.html">FloatPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#ae3f310aaeb5634e9f2ca7d51e35526a5">point</a> () const </td></tr>
37 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a80c403de88c32d76c0a774e2af5c4973">set_point</a> (const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;origin)</td></tr>
38 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_float_size.html">FloatSize</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#aee27f20031234762c710d441bc0cd148">Floatsize</a> () const </td></tr>
39 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a132796b0ca75d600509731d8c5a83736">set_size</a> (const <a class="el" href="classpp_1_1_float_size.html">FloatSize</a> &amp;s)</td></tr>
40 <tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a34632c0a01c72fce447ac6b6f0cdf86b">right</a> () const </td></tr>
41 <tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#ae356a34c997e6c291fdc0e3431a0a63c">bottom</a> () const </td></tr>
42 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#acfadd4bca5c16f05d138e4074b557df2">SetRect</a> (float <a class="el" href="classpp_1_1_float_rect.html#a4820c673dc07e6b35f8fc0c42368e92c">x</a>, float <a class="el" href="classpp_1_1_float_rect.html#ae31847965339e36aa1fe6c4cf8cf479c">y</a>, float w, float h)</td></tr>
43 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#ae5c915a40cd7689798c7395824132117">SetRect</a> (const PP_FloatRect &amp;rect)</td></tr>
44 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a2d8abde94cff6a5813c2849dce42d707">Inset</a> (float horizontal, float vertical)</td></tr>
45 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a24f94c63d2f097bd7f8b45a2c375077c">Inset</a> (float left, float top, float <a class="el" href="classpp_1_1_float_rect.html#a34632c0a01c72fce447ac6b6f0cdf86b">right</a>, float <a class="el" href="classpp_1_1_float_rect.html#ae356a34c997e6c291fdc0e3431a0a63c">bottom</a>)</td></tr>
46 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a9b5247961b45da6dc5c656b906462f8b">Offset</a> (float horizontal, float vertical)</td></tr>
47 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a60fce18269499d5c9f8c2446319844c3">Offset</a> (const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;<a class="el" href="classpp_1_1_float_rect.html#ae3f310aaeb5634e9f2ca7d51e35526a5">point</a>)</td></tr>
48 <tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a73c6f15d2c2ed26a2bd8893efeab1dcb">IsEmpty</a> () const </td></tr>
49 <tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a82bd21c4fc823d212a7526c2f03e3d43">Contains</a> (float point_x, float point_y) const </td></tr>
50 <tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a82eaf22456cdf77d6a588ae86e4e86f9">Contains</a> (const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;<a class="el" href="classpp_1_1_float_rect.html#ae3f310aaeb5634e9f2ca7d51e35526a5">point</a>) const </td></tr>
51 <tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#afcdf6b7eb8e1b931ac482c973af9fa9e">Contains</a> (const <a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> &amp;rect) const </td></tr>
52 <tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a701e3ca1e1cbd0ee10c432effb119088">Intersects</a> (const <a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> &amp;rect) const </td></tr>
53 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_float_rect.html">FloatRect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a6529366c00323c6d6495f3db14906ce8">Intersect</a> (const <a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> &amp;rect) const </td></tr>
54 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_float_rect.html">FloatRect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#abb13835e0dbea82794cd4fa9140adb1e">Union</a> (const <a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> &amp;rect) const </td></tr>
55 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_float_rect.html">FloatRect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a8b1c8031d1442dfcc0d11ea75b396683">Subtract</a> (const <a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> &amp;rect) const </td></tr>
56 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_float_rect.html">FloatRect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#af0009bd0ff6ac801359fb9d15a8c1b7c">AdjustToFit</a> (const <a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> &amp;rect) const </td></tr>
57 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_float_point.html">FloatPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a55eafb38d0a63a1a8b1ad0a4aeeef3f3">CenterPoint</a> () const </td></tr>
58 <tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_rect.html#a9ab2652f39dc26de8c6750cc8d75d66a">SharesEdgeWith</a> (const <a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> &amp;rect) const </td></tr>
59 </table>
60 <hr /><a name="details" id="details"></a><h2>Detailed Description</h2>
61 <div class="textblock"><p>A 2 dimensional rectangle. </p>
62 <p>A rectangle is represented by x and y (which identifies the upper-left corner of the rectangle), width, and height. </p>
63 </div><hr /><h2>Constructor &amp; Destructor Documentation</h2>
64 <a class="anchor" id="a00133448de297c5ed19b7831c456bf23"></a><!-- doxytag: member="pp::FloatRect::FloatRect" ref="a00133448de297c5ed19b7831c456bf23" args="()" -->
65 <div class="memitem">
66 <div class="memproto">
67 <table class="memname">
68 <tr>
69 <td class="memname"><a class="el" href="classpp_1_1_float_rect.html#a00133448de297c5ed19b7831c456bf23">pp::FloatRect::FloatRect</a> </td>
70 <td>(</td>
71 <td class="paramname"></td><td>)</td>
72 <td><code> [inline]</code></td>
73 </tr>
74 </table>
75 </div>
76 <div class="memdoc">
77 <p>The default constructor. </p>
78 <p>Creates a <code><a class="el" href="classpp_1_1_rect.html" title="A 2 dimensional rectangle.">Rect</a></code> in the upper-left at 0.0f,0.0f with height and width of 0.0f. </p>
79 </div>
80 </div>
81 <a class="anchor" id="aaf4f5bb63c29eb79aa336bf0444d19ac"></a><!-- doxytag: member="pp::FloatRect::FloatRect" ref="aaf4f5bb63c29eb79aa336bf0444d19ac" args="(const PP_FloatRect &amp;rect)" -->
82 <div class="memitem">
83 <div class="memproto">
84 <table class="memname">
85 <tr>
86 <td class="memname"><a class="el" href="classpp_1_1_float_rect.html#a00133448de297c5ed19b7831c456bf23">pp::FloatRect::FloatRect</a> </td>
87 <td>(</td>
88 <td class="paramtype">const PP_FloatRect &amp;&#160;</td>
89 <td class="paramname"><em>rect</em></td><td>)</td>
90 <td><code> [inline]</code></td>
91 </tr>
92 </table>
93 </div>
94 <div class="memdoc">
95 <p>A constructor accepting a reference to a <code>PP_FloatRect and</code> converting the <code>PP_FloatRect</code> to a <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code>. </p>
96 <p>This is an implicit conversion constructor.</p>
97 <dl class="params"><dt><b>Parameters:</b></dt><dd>
98 <table class="params">
99 <tr><td class="paramdir">[in]</td><td class="paramname">rect</td><td>A <code>PP_FloatRect</code>. </td></tr>
100 </table>
101 </dd>
102 </dl>
103 </div>
104 </div>
105 <a class="anchor" id="a8216cb8951805b04a00909b860a949dc"></a><!-- doxytag: member="pp::FloatRect::FloatRect" ref="a8216cb8951805b04a00909b860a949dc" args="(float w, float h)" -->
106 <div class="memitem">
107 <div class="memproto">
108 <table class="memname">
109 <tr>
110 <td class="memname"><a class="el" href="classpp_1_1_float_rect.html#a00133448de297c5ed19b7831c456bf23">pp::FloatRect::FloatRect</a> </td>
111 <td>(</td>
112 <td class="paramtype">float&#160;</td>
113 <td class="paramname"><em>w</em>, </td>
114 </tr>
115 <tr>
116 <td class="paramkey"></td>
117 <td></td>
118 <td class="paramtype">float&#160;</td>
119 <td class="paramname"><em>h</em>&#160;</td>
120 </tr>
121 <tr>
122 <td></td>
123 <td>)</td>
124 <td></td><td><code> [inline]</code></td>
125 </tr>
126 </table>
127 </div>
128 <div class="memdoc">
129 <p>A constructor accepting two float values for width and height and converting them to a <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code> in the upper-left starting coordinate of 0.0f, 0.0f. </p>
130 <dl class="params"><dt><b>Parameters:</b></dt><dd>
131 <table class="params">
132 <tr><td class="paramdir">[in]</td><td class="paramname">w</td><td>An float value representing a width. </td></tr>
133 <tr><td class="paramdir">[in]</td><td class="paramname">h</td><td>An float value representing a height. </td></tr>
134 </table>
135 </dd>
136 </dl>
137 </div>
138 </div>
139 <a class="anchor" id="a02d2648692b0882ff54d812da3704aeb"></a><!-- doxytag: member="pp::FloatRect::FloatRect" ref="a02d2648692b0882ff54d812da3704aeb" args="(float x, float y, float w, float h)" -->
140 <div class="memitem">
141 <div class="memproto">
142 <table class="memname">
143 <tr>
144 <td class="memname"><a class="el" href="classpp_1_1_float_rect.html#a00133448de297c5ed19b7831c456bf23">pp::FloatRect::FloatRect</a> </td>
145 <td>(</td>
146 <td class="paramtype">float&#160;</td>
147 <td class="paramname"><em>x</em>, </td>
148 </tr>
149 <tr>
150 <td class="paramkey"></td>
151 <td></td>
152 <td class="paramtype">float&#160;</td>
153 <td class="paramname"><em>y</em>, </td>
154 </tr>
155 <tr>
156 <td class="paramkey"></td>
157 <td></td>
158 <td class="paramtype">float&#160;</td>
159 <td class="paramname"><em>w</em>, </td>
160 </tr>
161 <tr>
162 <td class="paramkey"></td>
163 <td></td>
164 <td class="paramtype">float&#160;</td>
165 <td class="paramname"><em>h</em>&#160;</td>
166 </tr>
167 <tr>
168 <td></td>
169 <td>)</td>
170 <td></td><td><code> [inline]</code></td>
171 </tr>
172 </table>
173 </div>
174 <div class="memdoc">
175 <p>A constructor accepting four float values for width, height, x, and y. </p>
176 <dl class="params"><dt><b>Parameters:</b></dt><dd>
177 <table class="params">
178 <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>An float value representing a horizontal coordinate of a point, starting with 0.0f as the left-most coordinate. </td></tr>
179 <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>An float value representing a vertical coordinate of a point, starting with 0.0f as the top-most coordinate. </td></tr>
180 <tr><td class="paramdir">[in]</td><td class="paramname">w</td><td>An float value representing a width. </td></tr>
181 <tr><td class="paramdir">[in]</td><td class="paramname">h</td><td>An float value representing a height. </td></tr>
182 </table>
183 </dd>
184 </dl>
185 </div>
186 </div>
187 <a class="anchor" id="a7072595c890bc203544e55cd926d72ae"></a><!-- doxytag: member="pp::FloatRect::FloatRect" ref="a7072595c890bc203544e55cd926d72ae" args="(const FloatSize &amp;s)" -->
188 <div class="memitem">
189 <div class="memproto">
190 <table class="memname">
191 <tr>
192 <td class="memname"><a class="el" href="classpp_1_1_float_rect.html#a00133448de297c5ed19b7831c456bf23">pp::FloatRect::FloatRect</a> </td>
193 <td>(</td>
194 <td class="paramtype">const <a class="el" href="classpp_1_1_float_size.html">FloatSize</a> &amp;&#160;</td>
195 <td class="paramname"><em>s</em></td><td>)</td>
196 <td><code> [inline, explicit]</code></td>
197 </tr>
198 </table>
199 </div>
200 <div class="memdoc">
201 <p>A constructor accepting a pointer to a <a class="el" href="classpp_1_1_float_size.html" title="A size of an object based on width and height.">FloatSize</a> and converting the <code><a class="el" href="classpp_1_1_float_size.html" title="A size of an object based on width and height.">FloatSize</a></code> to a <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code> in the upper-left starting coordinate of 0.0f,0.0f. </p>
202 <dl class="params"><dt><b>Parameters:</b></dt><dd>
203 <table class="params">
204 <tr><td class="paramdir">[in]</td><td class="paramname">s</td><td>A pointer to a <code><a class="el" href="classpp_1_1_float_size.html" title="A size of an object based on width and height.">FloatSize</a></code>. </td></tr>
205 </table>
206 </dd>
207 </dl>
208 </div>
209 </div>
210 <a class="anchor" id="a643d926ee6f5e9208fccffd47c1d22be"></a><!-- doxytag: member="pp::FloatRect::FloatRect" ref="a643d926ee6f5e9208fccffd47c1d22be" args="(const FloatPoint &amp;origin, const FloatSize &amp;size)" -->
211 <div class="memitem">
212 <div class="memproto">
213 <table class="memname">
214 <tr>
215 <td class="memname"><a class="el" href="classpp_1_1_float_rect.html#a00133448de297c5ed19b7831c456bf23">pp::FloatRect::FloatRect</a> </td>
216 <td>(</td>
217 <td class="paramtype">const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;&#160;</td>
218 <td class="paramname"><em>origin</em>, </td>
219 </tr>
220 <tr>
221 <td class="paramkey"></td>
222 <td></td>
223 <td class="paramtype">const <a class="el" href="classpp_1_1_float_size.html">FloatSize</a> &amp;&#160;</td>
224 <td class="paramname"><em>size</em>&#160;</td>
225 </tr>
226 <tr>
227 <td></td>
228 <td>)</td>
229 <td></td><td><code> [inline]</code></td>
230 </tr>
231 </table>
232 </div>
233 <div class="memdoc">
234 <p>A constructor accepting a pointer to a <code><a class="el" href="classpp_1_1_float_point.html" title="A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate.">FloatPoint</a></code> representing the origin of the rectangle and a pointer to a <code><a class="el" href="classpp_1_1_float_size.html" title="A size of an object based on width and height.">FloatSize</a></code> representing the height and width. </p>
235 <dl class="params"><dt><b>Parameters:</b></dt><dd>
236 <table class="params">
237 <tr><td class="paramdir">[in]</td><td class="paramname">origin</td><td>A pointer to a <code><a class="el" href="classpp_1_1_float_point.html" title="A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate.">FloatPoint</a></code> representing the upper-left starting coordinate. </td></tr>
238 <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>A pointer to a <code><a class="el" href="classpp_1_1_float_size.html" title="A size of an object based on width and height.">FloatSize</a></code> representing the height and width. </td></tr>
239 </table>
240 </dd>
241 </dl>
242 </div>
243 </div>
244 <a class="anchor" id="aa64361055526791e34cba09d97d2cf75"></a><!-- doxytag: member="pp::FloatRect::~FloatRect" ref="aa64361055526791e34cba09d97d2cf75" args="()" -->
245 <div class="memitem">
246 <div class="memproto">
247 <table class="memname">
248 <tr>
249 <td class="memname"><a class="el" href="classpp_1_1_float_rect.html#aa64361055526791e34cba09d97d2cf75">pp::FloatRect::~FloatRect</a> </td>
250 <td>(</td>
251 <td class="paramname"></td><td>)</td>
252 <td><code> [inline]</code></td>
253 </tr>
254 </table>
255 </div>
256 <div class="memdoc">
257 <p>Destructor. </p>
258 </div>
259 </div>
260 <hr /><h2>Member Function Documentation</h2>
261 <a class="anchor" id="af0009bd0ff6ac801359fb9d15a8c1b7c"></a><!-- doxytag: member="pp::FloatRect::AdjustToFit" ref="af0009bd0ff6ac801359fb9d15a8c1b7c" args="(const FloatRect &amp;rect) const " -->
262 <div class="memitem">
263 <div class="memproto">
264 <table class="memname">
265 <tr>
266 <td class="memname"><a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> <a class="el" href="classpp_1_1_float_rect.html#af0009bd0ff6ac801359fb9d15a8c1b7c">pp::FloatRect::AdjustToFit</a> </td>
267 <td>(</td>
268 <td class="paramtype">const <a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> &amp;&#160;</td>
269 <td class="paramname"><em>rect</em></td><td>)</td>
270 <td> const</td>
271 </tr>
272 </table>
273 </div>
274 <div class="memdoc">
275 <p><a class="el" href="classpp_1_1_float_rect.html#af0009bd0ff6ac801359fb9d15a8c1b7c" title="AdjustToFit() fits as much of the receiving rectangle within the supplied rectangle as possible...">AdjustToFit()</a> fits as much of the receiving rectangle within the supplied rectangle as possible, returning the result. </p>
276 <p>For example, if the receiver had a x-location of 2 and a width of 4, and the supplied rectangle had an x-location of 0 with a width of 5, the returned rectangle would have an x-location of 1 with a width of 4.</p>
277 <dl class="params"><dt><b>Parameters:</b></dt><dd>
278 <table class="params">
279 <tr><td class="paramdir">[in]</td><td class="paramname">rect</td><td>A pointer to a <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code>.</td></tr>
280 </table>
281 </dd>
282 </dl>
283 <dl class="return"><dt><b>Returns:</b></dt><dd>A <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code> representing the difference between this rectangle and the receiving rectangle. </dd></dl>
284 </div>
285 </div>
286 <a class="anchor" id="ae356a34c997e6c291fdc0e3431a0a63c"></a><!-- doxytag: member="pp::FloatRect::bottom" ref="ae356a34c997e6c291fdc0e3431a0a63c" args="() const " -->
287 <div class="memitem">
288 <div class="memproto">
289 <table class="memname">
290 <tr>
291 <td class="memname">float <a class="el" href="classpp_1_1_float_rect.html#ae356a34c997e6c291fdc0e3431a0a63c">pp::FloatRect::bottom</a> </td>
292 <td>(</td>
293 <td class="paramname"></td><td>)</td>
294 <td> const<code> [inline]</code></td>
295 </tr>
296 </table>
297 </div>
298 <div class="memdoc">
299 <p>Getter function to get the upper-bound for the y-coordinates of the rectangle. </p>
300 <p>Note that this coordinate value is one past the highest xy value of pixels in the rectangle. This loop will access all the pixels in a horizontal line in the rectangle: <code>for (float y = rect.y(); y &lt; rect.bottom(); ++y) {}</code></p>
301 <dl class="return"><dt><b>Returns:</b></dt><dd>The value of y + height for this point. </dd></dl>
302 </div>
303 </div>
304 <a class="anchor" id="a55eafb38d0a63a1a8b1ad0a4aeeef3f3"></a><!-- doxytag: member="pp::FloatRect::CenterPoint" ref="a55eafb38d0a63a1a8b1ad0a4aeeef3f3" args="() const " -->
305 <div class="memitem">
306 <div class="memproto">
307 <table class="memname">
308 <tr>
309 <td class="memname"><a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> <a class="el" href="classpp_1_1_float_rect.html#a55eafb38d0a63a1a8b1ad0a4aeeef3f3">pp::FloatRect::CenterPoint</a> </td>
310 <td>(</td>
311 <td class="paramname"></td><td>)</td>
312 <td> const</td>
313 </tr>
314 </table>
315 </div>
316 <div class="memdoc">
317 <p><a class="el" href="classpp_1_1_float_rect.html#a55eafb38d0a63a1a8b1ad0a4aeeef3f3" title="CenterPoint() determines the center of this rectangle.">CenterPoint()</a> determines the center of this rectangle. </p>
318 <dl class="return"><dt><b>Returns:</b></dt><dd>A <code><a class="el" href="classpp_1_1_float_point.html" title="A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate.">FloatPoint</a></code> representing the center of this rectangle. </dd></dl>
319 </div>
320 </div>
321 <a class="anchor" id="a82bd21c4fc823d212a7526c2f03e3d43"></a><!-- doxytag: member="pp::FloatRect::Contains" ref="a82bd21c4fc823d212a7526c2f03e3d43" args="(float point_x, float point_y) const " -->
322 <div class="memitem">
323 <div class="memproto">
324 <table class="memname">
325 <tr>
326 <td class="memname">bool <a class="el" href="classpp_1_1_float_rect.html#a82bd21c4fc823d212a7526c2f03e3d43">pp::FloatRect::Contains</a> </td>
327 <td>(</td>
328 <td class="paramtype">float&#160;</td>
329 <td class="paramname"><em>point_x</em>, </td>
330 </tr>
331 <tr>
332 <td class="paramkey"></td>
333 <td></td>
334 <td class="paramtype">float&#160;</td>
335 <td class="paramname"><em>point_y</em>&#160;</td>
336 </tr>
337 <tr>
338 <td></td>
339 <td>)</td>
340 <td></td><td> const</td>
341 </tr>
342 </table>
343 </div>
344 <div class="memdoc">
345 <p><a class="el" href="classpp_1_1_float_rect.html#a82bd21c4fc823d212a7526c2f03e3d43" title="Contains() determines if the point identified by point_x and point_y falls inside this rectangle...">Contains()</a> determines if the point identified by point_x and point_y falls inside this rectangle. </p>
346 <p>The point (x, y) is inside the rectangle, but the point (x + width, y + height) is not.</p>
347 <dl class="params"><dt><b>Parameters:</b></dt><dd>
348 <table class="params">
349 <tr><td class="paramdir">[in]</td><td class="paramname">point_x</td><td>An float value representing a x value. </td></tr>
350 <tr><td class="paramdir">[in]</td><td class="paramname">point_y</td><td>An float value representing a y value.</td></tr>
351 </table>
352 </dd>
353 </dl>
354 <dl class="return"><dt><b>Returns:</b></dt><dd>true if the point_x and point_y fall inside the rectangle. </dd></dl>
355 </div>
356 </div>
357 <a class="anchor" id="a82eaf22456cdf77d6a588ae86e4e86f9"></a><!-- doxytag: member="pp::FloatRect::Contains" ref="a82eaf22456cdf77d6a588ae86e4e86f9" args="(const FloatPoint &amp;point) const " -->
358 <div class="memitem">
359 <div class="memproto">
360 <table class="memname">
361 <tr>
362 <td class="memname">bool <a class="el" href="classpp_1_1_float_rect.html#a82bd21c4fc823d212a7526c2f03e3d43">pp::FloatRect::Contains</a> </td>
363 <td>(</td>
364 <td class="paramtype">const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;&#160;</td>
365 <td class="paramname"><em>point</em></td><td>)</td>
366 <td> const<code> [inline]</code></td>
367 </tr>
368 </table>
369 </div>
370 <div class="memdoc">
371 <p><a class="el" href="classpp_1_1_float_rect.html#a82bd21c4fc823d212a7526c2f03e3d43" title="Contains() determines if the point identified by point_x and point_y falls inside this rectangle...">Contains()</a> determines if the specified point is contained by this rectangle. </p>
372 <dl class="params"><dt><b>Parameters:</b></dt><dd>
373 <table class="params">
374 <tr><td class="paramdir">[in]</td><td class="paramname">point</td><td>A pointer to a <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a> representing a 2D coordinate.</td></tr>
375 </table>
376 </dd>
377 </dl>
378 <dl class="return"><dt><b>Returns:</b></dt><dd>true if the point_x and point_y fall inside the rectangle. </dd></dl>
379 </div>
380 </div>
381 <a class="anchor" id="afcdf6b7eb8e1b931ac482c973af9fa9e"></a><!-- doxytag: member="pp::FloatRect::Contains" ref="afcdf6b7eb8e1b931ac482c973af9fa9e" args="(const FloatRect &amp;rect) const " -->
382 <div class="memitem">
383 <div class="memproto">
384 <table class="memname">
385 <tr>
386 <td class="memname">bool <a class="el" href="classpp_1_1_float_rect.html#a82bd21c4fc823d212a7526c2f03e3d43">pp::FloatRect::Contains</a> </td>
387 <td>(</td>
388 <td class="paramtype">const <a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> &amp;&#160;</td>
389 <td class="paramname"><em>rect</em></td><td>)</td>
390 <td> const</td>
391 </tr>
392 </table>
393 </div>
394 <div class="memdoc">
395 <p><a class="el" href="classpp_1_1_float_rect.html#a82bd21c4fc823d212a7526c2f03e3d43" title="Contains() determines if the point identified by point_x and point_y falls inside this rectangle...">Contains()</a> determines if this rectangle contains the specified rectangle. </p>
396 <dl class="params"><dt><b>Parameters:</b></dt><dd>
397 <table class="params">
398 <tr><td class="paramdir">[in]</td><td class="paramname">rect</td><td>A pointer to a <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code>.</td></tr>
399 </table>
400 </dd>
401 </dl>
402 <dl class="return"><dt><b>Returns:</b></dt><dd>true if the rectangle fall inside this rectangle. </dd></dl>
403 </div>
404 </div>
405 <a class="anchor" id="aee27f20031234762c710d441bc0cd148"></a><!-- doxytag: member="pp::FloatRect::Floatsize" ref="aee27f20031234762c710d441bc0cd148" args="() const " -->
406 <div class="memitem">
407 <div class="memproto">
408 <table class="memname">
409 <tr>
410 <td class="memname"><a class="el" href="classpp_1_1_float_size.html">FloatSize</a> <a class="el" href="classpp_1_1_float_rect.html#aee27f20031234762c710d441bc0cd148">pp::FloatRect::Floatsize</a> </td>
411 <td>(</td>
412 <td class="paramname"></td><td>)</td>
413 <td> const<code> [inline]</code></td>
414 </tr>
415 </table>
416 </div>
417 <div class="memdoc">
418 <p>Getter function for returning the <code><a class="el" href="classpp_1_1_float_size.html" title="A size of an object based on width and height.">FloatSize</a></code>. </p>
419 <dl class="return"><dt><b>Returns:</b></dt><dd>The size of the rectangle. </dd></dl>
420 </div>
421 </div>
422 <a class="anchor" id="a9dc3d3004aacf708356a73e09d1cc96e"></a><!-- doxytag: member="pp::FloatRect::height" ref="a9dc3d3004aacf708356a73e09d1cc96e" args="() const " -->
423 <div class="memitem">
424 <div class="memproto">
425 <table class="memname">
426 <tr>
427 <td class="memname">float <a class="el" href="classpp_1_1_float_rect.html#a9dc3d3004aacf708356a73e09d1cc96e">pp::FloatRect::height</a> </td>
428 <td>(</td>
429 <td class="paramname"></td><td>)</td>
430 <td> const<code> [inline]</code></td>
431 </tr>
432 </table>
433 </div>
434 <div class="memdoc">
435 <p>Getter function for returning the value of height. </p>
436 <dl class="return"><dt><b>Returns:</b></dt><dd>The value of height for this <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code>. </dd></dl>
437 </div>
438 </div>
439 <a class="anchor" id="a2d8abde94cff6a5813c2849dce42d707"></a><!-- doxytag: member="pp::FloatRect::Inset" ref="a2d8abde94cff6a5813c2849dce42d707" args="(float horizontal, float vertical)" -->
440 <div class="memitem">
441 <div class="memproto">
442 <table class="memname">
443 <tr>
444 <td class="memname">void <a class="el" href="classpp_1_1_float_rect.html#a2d8abde94cff6a5813c2849dce42d707">pp::FloatRect::Inset</a> </td>
445 <td>(</td>
446 <td class="paramtype">float&#160;</td>
447 <td class="paramname"><em>horizontal</em>, </td>
448 </tr>
449 <tr>
450 <td class="paramkey"></td>
451 <td></td>
452 <td class="paramtype">float&#160;</td>
453 <td class="paramname"><em>vertical</em>&#160;</td>
454 </tr>
455 <tr>
456 <td></td>
457 <td>)</td>
458 <td></td><td><code> [inline]</code></td>
459 </tr>
460 </table>
461 </div>
462 <div class="memdoc">
463 <p><a class="el" href="classpp_1_1_float_rect.html#a2d8abde94cff6a5813c2849dce42d707" title="Inset() shrinks the rectangle by a horizontal and vertical distance on all sides.">Inset()</a> shrinks the rectangle by a horizontal and vertical distance on all sides. </p>
464 <dl class="params"><dt><b>Parameters:</b></dt><dd>
465 <table class="params">
466 <tr><td class="paramdir">[in]</td><td class="paramname">horizontal</td><td>An float value representing a horizontal shrinking distance. </td></tr>
467 <tr><td class="paramdir">[in]</td><td class="paramname">vertical</td><td>An float value representing a vertical shrinking distance. </td></tr>
468 </table>
469 </dd>
470 </dl>
471 </div>
472 </div>
473 <a class="anchor" id="a24f94c63d2f097bd7f8b45a2c375077c"></a><!-- doxytag: member="pp::FloatRect::Inset" ref="a24f94c63d2f097bd7f8b45a2c375077c" args="(float left, float top, float right, float bottom)" -->
474 <div class="memitem">
475 <div class="memproto">
476 <table class="memname">
477 <tr>
478 <td class="memname">void <a class="el" href="classpp_1_1_float_rect.html#a2d8abde94cff6a5813c2849dce42d707">pp::FloatRect::Inset</a> </td>
479 <td>(</td>
480 <td class="paramtype">float&#160;</td>
481 <td class="paramname"><em>left</em>, </td>
482 </tr>
483 <tr>
484 <td class="paramkey"></td>
485 <td></td>
486 <td class="paramtype">float&#160;</td>
487 <td class="paramname"><em>top</em>, </td>
488 </tr>
489 <tr>
490 <td class="paramkey"></td>
491 <td></td>
492 <td class="paramtype">float&#160;</td>
493 <td class="paramname"><em>right</em>, </td>
494 </tr>
495 <tr>
496 <td class="paramkey"></td>
497 <td></td>
498 <td class="paramtype">float&#160;</td>
499 <td class="paramname"><em>bottom</em>&#160;</td>
500 </tr>
501 <tr>
502 <td></td>
503 <td>)</td>
504 <td></td><td></td>
505 </tr>
506 </table>
507 </div>
508 <div class="memdoc">
509 <p><a class="el" href="classpp_1_1_float_rect.html#a2d8abde94cff6a5813c2849dce42d707" title="Inset() shrinks the rectangle by a horizontal and vertical distance on all sides.">Inset()</a> shrinks the rectangle by the specified amount on each side. </p>
510 <dl class="params"><dt><b>Parameters:</b></dt><dd>
511 <table class="params">
512 <tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>An float value representing a left shrinking distance. </td></tr>
513 <tr><td class="paramdir">[in]</td><td class="paramname">top</td><td>An float value representing a top shrinking distance. </td></tr>
514 <tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>An float value representing a right shrinking distance. </td></tr>
515 <tr><td class="paramdir">[in]</td><td class="paramname">bottom</td><td>An float value representing a bottom shrinking distance. </td></tr>
516 </table>
517 </dd>
518 </dl>
519 </div>
520 </div>
521 <a class="anchor" id="a6529366c00323c6d6495f3db14906ce8"></a><!-- doxytag: member="pp::FloatRect::Intersect" ref="a6529366c00323c6d6495f3db14906ce8" args="(const FloatRect &amp;rect) const " -->
522 <div class="memitem">
523 <div class="memproto">
524 <table class="memname">
525 <tr>
526 <td class="memname"><a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> <a class="el" href="classpp_1_1_float_rect.html#a6529366c00323c6d6495f3db14906ce8">pp::FloatRect::Intersect</a> </td>
527 <td>(</td>
528 <td class="paramtype">const <a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> &amp;&#160;</td>
529 <td class="paramname"><em>rect</em></td><td>)</td>
530 <td> const</td>
531 </tr>
532 </table>
533 </div>
534 <div class="memdoc">
535 <p><a class="el" href="classpp_1_1_float_rect.html#a6529366c00323c6d6495f3db14906ce8" title="Intersect() computes the intersection of this rectangle with the given rectangle.">Intersect()</a> computes the intersection of this rectangle with the given rectangle. </p>
536 <dl class="params"><dt><b>Parameters:</b></dt><dd>
537 <table class="params">
538 <tr><td class="paramdir">[in]</td><td class="paramname">rect</td><td>A pointer to a <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code>.</td></tr>
539 </table>
540 </dd>
541 </dl>
542 <dl class="return"><dt><b>Returns:</b></dt><dd>A <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code> representing the intersection. </dd></dl>
543 </div>
544 </div>
545 <a class="anchor" id="a701e3ca1e1cbd0ee10c432effb119088"></a><!-- doxytag: member="pp::FloatRect::Intersects" ref="a701e3ca1e1cbd0ee10c432effb119088" args="(const FloatRect &amp;rect) const " -->
546 <div class="memitem">
547 <div class="memproto">
548 <table class="memname">
549 <tr>
550 <td class="memname">bool <a class="el" href="classpp_1_1_float_rect.html#a701e3ca1e1cbd0ee10c432effb119088">pp::FloatRect::Intersects</a> </td>
551 <td>(</td>
552 <td class="paramtype">const <a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> &amp;&#160;</td>
553 <td class="paramname"><em>rect</em></td><td>)</td>
554 <td> const</td>
555 </tr>
556 </table>
557 </div>
558 <div class="memdoc">
559 <p><a class="el" href="classpp_1_1_float_rect.html#a701e3ca1e1cbd0ee10c432effb119088" title="Intersects() determines if this rectangle intersects the specified rectangle.">Intersects()</a> determines if this rectangle intersects the specified rectangle. </p>
560 <dl class="params"><dt><b>Parameters:</b></dt><dd>
561 <table class="params">
562 <tr><td class="paramdir">[in]</td><td class="paramname">rect</td><td>A pointer to a <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code>.</td></tr>
563 </table>
564 </dd>
565 </dl>
566 <dl class="return"><dt><b>Returns:</b></dt><dd>true if the rectangle intersects this rectangle. </dd></dl>
567 </div>
568 </div>
569 <a class="anchor" id="a73c6f15d2c2ed26a2bd8893efeab1dcb"></a><!-- doxytag: member="pp::FloatRect::IsEmpty" ref="a73c6f15d2c2ed26a2bd8893efeab1dcb" args="() const " -->
570 <div class="memitem">
571 <div class="memproto">
572 <table class="memname">
573 <tr>
574 <td class="memname">bool <a class="el" href="classpp_1_1_float_rect.html#a73c6f15d2c2ed26a2bd8893efeab1dcb">pp::FloatRect::IsEmpty</a> </td>
575 <td>(</td>
576 <td class="paramname"></td><td>)</td>
577 <td> const<code> [inline]</code></td>
578 </tr>
579 </table>
580 </div>
581 <div class="memdoc">
582 <p><a class="el" href="classpp_1_1_float_rect.html#a73c6f15d2c2ed26a2bd8893efeab1dcb" title="IsEmpty() determines if the area of a rectangle is zero.">IsEmpty()</a> determines if the area of a rectangle is zero. </p>
583 <p>Returns true if the area of the rectangle is zero.</p>
584 <dl class="return"><dt><b>Returns:</b></dt><dd>true if the area of the rectangle is zero. </dd></dl>
585 </div>
586 </div>
587 <a class="anchor" id="a9b5247961b45da6dc5c656b906462f8b"></a><!-- doxytag: member="pp::FloatRect::Offset" ref="a9b5247961b45da6dc5c656b906462f8b" args="(float horizontal, float vertical)" -->
588 <div class="memitem">
589 <div class="memproto">
590 <table class="memname">
591 <tr>
592 <td class="memname">void <a class="el" href="classpp_1_1_float_rect.html#a9b5247961b45da6dc5c656b906462f8b">pp::FloatRect::Offset</a> </td>
593 <td>(</td>
594 <td class="paramtype">float&#160;</td>
595 <td class="paramname"><em>horizontal</em>, </td>
596 </tr>
597 <tr>
598 <td class="paramkey"></td>
599 <td></td>
600 <td class="paramtype">float&#160;</td>
601 <td class="paramname"><em>vertical</em>&#160;</td>
602 </tr>
603 <tr>
604 <td></td>
605 <td>)</td>
606 <td></td><td></td>
607 </tr>
608 </table>
609 </div>
610 <div class="memdoc">
611 <p><a class="el" href="classpp_1_1_float_rect.html#a9b5247961b45da6dc5c656b906462f8b" title="Offset() moves the rectangle by a horizontal and vertical distance.">Offset()</a> moves the rectangle by a horizontal and vertical distance. </p>
612 <dl class="params"><dt><b>Parameters:</b></dt><dd>
613 <table class="params">
614 <tr><td class="paramdir">[in]</td><td class="paramname">horizontal</td><td>An float value representing a horizontal move distance. </td></tr>
615 <tr><td class="paramdir">[in]</td><td class="paramname">vertical</td><td>An float value representing a vertical move distance. </td></tr>
616 </table>
617 </dd>
618 </dl>
619 </div>
620 </div>
621 <a class="anchor" id="a60fce18269499d5c9f8c2446319844c3"></a><!-- doxytag: member="pp::FloatRect::Offset" ref="a60fce18269499d5c9f8c2446319844c3" args="(const FloatPoint &amp;point)" -->
622 <div class="memitem">
623 <div class="memproto">
624 <table class="memname">
625 <tr>
626 <td class="memname">void <a class="el" href="classpp_1_1_float_rect.html#a9b5247961b45da6dc5c656b906462f8b">pp::FloatRect::Offset</a> </td>
627 <td>(</td>
628 <td class="paramtype">const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;&#160;</td>
629 <td class="paramname"><em>point</em></td><td>)</td>
630 <td><code> [inline]</code></td>
631 </tr>
632 </table>
633 </div>
634 <div class="memdoc">
635 <p><a class="el" href="classpp_1_1_float_rect.html#a9b5247961b45da6dc5c656b906462f8b" title="Offset() moves the rectangle by a horizontal and vertical distance.">Offset()</a> moves the rectangle by a horizontal and vertical distance. </p>
636 <dl class="params"><dt><b>Parameters:</b></dt><dd>
637 <table class="params">
638 <tr><td class="paramdir">[in]</td><td class="paramname">point</td><td>A pointer to a <code><a class="el" href="classpp_1_1_float_point.html" title="A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate.">FloatPoint</a></code> representing the horizontal and vertical move distances. </td></tr>
639 </table>
640 </dd>
641 </dl>
642 </div>
643 </div>
644 <a class="anchor" id="a85c34bdfd11703d4cc86486b3f38a032"></a><!-- doxytag: member="pp::FloatRect::operator PP_FloatRect" ref="a85c34bdfd11703d4cc86486b3f38a032" args="() const " -->
645 <div class="memitem">
646 <div class="memproto">
647 <table class="memname">
648 <tr>
649 <td class="memname">pp::FloatRect::operator PP_FloatRect </td>
650 <td>(</td>
651 <td class="paramname"></td><td>)</td>
652 <td> const<code> [inline]</code></td>
653 </tr>
654 </table>
655 </div>
656 <div class="memdoc">
657 <p>PP_FloatRect() allows implicit conversion of a <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code> to a <code>PP_FloatRect</code>. </p>
658 <dl class="return"><dt><b>Returns:</b></dt><dd>A <code><a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a></code>. </dd></dl>
659 </div>
660 </div>
661 <a class="anchor" id="ae3f310aaeb5634e9f2ca7d51e35526a5"></a><!-- doxytag: member="pp::FloatRect::point" ref="ae3f310aaeb5634e9f2ca7d51e35526a5" args="() const " -->
662 <div class="memitem">
663 <div class="memproto">
664 <table class="memname">
665 <tr>
666 <td class="memname"><a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> <a class="el" href="classpp_1_1_float_rect.html#ae3f310aaeb5634e9f2ca7d51e35526a5">pp::FloatRect::point</a> </td>
667 <td>(</td>
668 <td class="paramname"></td><td>)</td>
669 <td> const<code> [inline]</code></td>
670 </tr>
671 </table>
672 </div>
673 <div class="memdoc">
674 <p>Getter function for returning the <code><a class="el" href="classpp_1_1_float_point.html" title="A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate.">FloatPoint</a></code>. </p>
675 <dl class="return"><dt><b>Returns:</b></dt><dd>A <code><a class="el" href="classpp_1_1_float_point.html" title="A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate.">FloatPoint</a></code>. </dd></dl>
676 </div>
677 </div>
678 <a class="anchor" id="aa63a6eab8caae819c7efb133b89e3ec2"></a><!-- doxytag: member="pp::FloatRect::pp_float_rect" ref="aa63a6eab8caae819c7efb133b89e3ec2" args="() const " -->
679 <div class="memitem">
680 <div class="memproto">
681 <table class="memname">
682 <tr>
683 <td class="memname">const PP_FloatRect&amp; <a class="el" href="classpp_1_1_float_rect.html#aa63a6eab8caae819c7efb133b89e3ec2">pp::FloatRect::pp_float_rect</a> </td>
684 <td>(</td>
685 <td class="paramname"></td><td>)</td>
686 <td> const<code> [inline]</code></td>
687 </tr>
688 </table>
689 </div>
690 <div class="memdoc">
691 <p>Getter function for returning the internal <code>PP_FloatRect</code> struct. </p>
692 <dl class="return"><dt><b>Returns:</b></dt><dd>A const reference to the internal <code>PP_FloatRect</code> struct. </dd></dl>
693 </div>
694 </div>
695 <a class="anchor" id="a796ff93f77b488ac673b0e82a2527507"></a><!-- doxytag: member="pp::FloatRect::pp_float_rect" ref="a796ff93f77b488ac673b0e82a2527507" args="()" -->
696 <div class="memitem">
697 <div class="memproto">
698 <table class="memname">
699 <tr>
700 <td class="memname">PP_FloatRect&amp; <a class="el" href="classpp_1_1_float_rect.html#aa63a6eab8caae819c7efb133b89e3ec2">pp::FloatRect::pp_float_rect</a> </td>
701 <td>(</td>
702 <td class="paramname"></td><td>)</td>
703 <td><code> [inline]</code></td>
704 </tr>
705 </table>
706 </div>
707 <div class="memdoc">
708 <p>Getter function for returning the internal <code>PP_FloatRect</code> struct. </p>
709 <dl class="return"><dt><b>Returns:</b></dt><dd>A mutable reference to the <code>PP_FloatRect</code> struct. </dd></dl>
710 </div>
711 </div>
712 <a class="anchor" id="a34632c0a01c72fce447ac6b6f0cdf86b"></a><!-- doxytag: member="pp::FloatRect::right" ref="a34632c0a01c72fce447ac6b6f0cdf86b" args="() const " -->
713 <div class="memitem">
714 <div class="memproto">
715 <table class="memname">
716 <tr>
717 <td class="memname">float <a class="el" href="classpp_1_1_float_rect.html#a34632c0a01c72fce447ac6b6f0cdf86b">pp::FloatRect::right</a> </td>
718 <td>(</td>
719 <td class="paramname"></td><td>)</td>
720 <td> const<code> [inline]</code></td>
721 </tr>
722 </table>
723 </div>
724 <div class="memdoc">
725 <p>Getter function to get the upper-bound for the x-coordinates of the rectangle. </p>
726 <p>Note that this coordinate value is one past the highest x value of pixels in the rectangle. This loop will access all the pixels in a horizontal line in the rectangle: <code>for (float x = rect.x(); x &lt; rect.right(); ++x) {}</code></p>
727 <dl class="return"><dt><b>Returns:</b></dt><dd>The value of x + width for this point. </dd></dl>
728 </div>
729 </div>
730 <a class="anchor" id="a81a0cc8fc8521167b34b10e75f94679f"></a><!-- doxytag: member="pp::FloatRect::set_height" ref="a81a0cc8fc8521167b34b10e75f94679f" args="(float h)" -->
731 <div class="memitem">
732 <div class="memproto">
733 <table class="memname">
734 <tr>
735 <td class="memname">void <a class="el" href="classpp_1_1_float_rect.html#a81a0cc8fc8521167b34b10e75f94679f">pp::FloatRect::set_height</a> </td>
736 <td>(</td>
737 <td class="paramtype">float&#160;</td>
738 <td class="paramname"><em>h</em></td><td>)</td>
739 <td><code> [inline]</code></td>
740 </tr>
741 </table>
742 </div>
743 <div class="memdoc">
744 <p>Setter function for setting the value of height. </p>
745 <dl class="params"><dt><b>Parameters:</b></dt><dd>
746 <table class="params">
747 <tr><td class="paramdir">[in]</td><td class="paramname">h</td><td>A new width height. </td></tr>
748 </table>
749 </dd>
750 </dl>
751 </div>
752 </div>
753 <a class="anchor" id="a80c403de88c32d76c0a774e2af5c4973"></a><!-- doxytag: member="pp::FloatRect::set_point" ref="a80c403de88c32d76c0a774e2af5c4973" args="(const FloatPoint &amp;origin)" -->
754 <div class="memitem">
755 <div class="memproto">
756 <table class="memname">
757 <tr>
758 <td class="memname">void <a class="el" href="classpp_1_1_float_rect.html#a80c403de88c32d76c0a774e2af5c4973">pp::FloatRect::set_point</a> </td>
759 <td>(</td>
760 <td class="paramtype">const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;&#160;</td>
761 <td class="paramname"><em>origin</em></td><td>)</td>
762 <td><code> [inline]</code></td>
763 </tr>
764 </table>
765 </div>
766 <div class="memdoc">
767 <p>Setter function for setting the value of the <code><a class="el" href="classpp_1_1_float_point.html" title="A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate.">FloatPoint</a></code>. </p>
768 <dl class="params"><dt><b>Parameters:</b></dt><dd>
769 <table class="params">
770 <tr><td class="paramdir">[in]</td><td class="paramname">origin</td><td>A <code><a class="el" href="classpp_1_1_float_point.html" title="A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate.">FloatPoint</a></code> representing the upper-left starting coordinate. </td></tr>
771 </table>
772 </dd>
773 </dl>
774 </div>
775 </div>
776 <a class="anchor" id="a132796b0ca75d600509731d8c5a83736"></a><!-- doxytag: member="pp::FloatRect::set_size" ref="a132796b0ca75d600509731d8c5a83736" args="(const FloatSize &amp;s)" -->
777 <div class="memitem">
778 <div class="memproto">
779 <table class="memname">
780 <tr>
781 <td class="memname">void <a class="el" href="classpp_1_1_float_rect.html#a132796b0ca75d600509731d8c5a83736">pp::FloatRect::set_size</a> </td>
782 <td>(</td>
783 <td class="paramtype">const <a class="el" href="classpp_1_1_float_size.html">FloatSize</a> &amp;&#160;</td>
784 <td class="paramname"><em>s</em></td><td>)</td>
785 <td><code> [inline]</code></td>
786 </tr>
787 </table>
788 </div>
789 <div class="memdoc">
790 <p>Setter function for setting the <code><a class="el" href="classpp_1_1_float_size.html" title="A size of an object based on width and height.">FloatSize</a></code>. </p>
791 <dl class="params"><dt><b>Parameters:</b></dt><dd>
792 <table class="params">
793 <tr><td class="paramdir">[in]</td><td class="paramname">s</td><td>A pointer to a <code><a class="el" href="classpp_1_1_float_size.html" title="A size of an object based on width and height.">FloatSize</a></code> representing the height and width. </td></tr>
794 </table>
795 </dd>
796 </dl>
797 </div>
798 </div>
799 <a class="anchor" id="a9553c5bf8b2c00bc9eeb7a7c2c22d0f7"></a><!-- doxytag: member="pp::FloatRect::set_width" ref="a9553c5bf8b2c00bc9eeb7a7c2c22d0f7" args="(float w)" -->
800 <div class="memitem">
801 <div class="memproto">
802 <table class="memname">
803 <tr>
804 <td class="memname">void <a class="el" href="classpp_1_1_float_rect.html#a9553c5bf8b2c00bc9eeb7a7c2c22d0f7">pp::FloatRect::set_width</a> </td>
805 <td>(</td>
806 <td class="paramtype">float&#160;</td>
807 <td class="paramname"><em>w</em></td><td>)</td>
808 <td><code> [inline]</code></td>
809 </tr>
810 </table>
811 </div>
812 <div class="memdoc">
813 <p>Setter function for setting the value of width. </p>
814 <dl class="params"><dt><b>Parameters:</b></dt><dd>
815 <table class="params">
816 <tr><td class="paramdir">[in]</td><td class="paramname">w</td><td>A new width value. </td></tr>
817 </table>
818 </dd>
819 </dl>
820 </div>
821 </div>
822 <a class="anchor" id="a52ed4022d98fc75e2bfd942ba0fb982f"></a><!-- doxytag: member="pp::FloatRect::set_x" ref="a52ed4022d98fc75e2bfd942ba0fb982f" args="(float in_x)" -->
823 <div class="memitem">
824 <div class="memproto">
825 <table class="memname">
826 <tr>
827 <td class="memname">void <a class="el" href="classpp_1_1_float_rect.html#a52ed4022d98fc75e2bfd942ba0fb982f">pp::FloatRect::set_x</a> </td>
828 <td>(</td>
829 <td class="paramtype">float&#160;</td>
830 <td class="paramname"><em>in_x</em></td><td>)</td>
831 <td><code> [inline]</code></td>
832 </tr>
833 </table>
834 </div>
835 <div class="memdoc">
836 <p>Setter function for setting the value of x. </p>
837 <dl class="params"><dt><b>Parameters:</b></dt><dd>
838 <table class="params">
839 <tr><td class="paramdir">[in]</td><td class="paramname">in_x</td><td>A new x value. </td></tr>
840 </table>
841 </dd>
842 </dl>
843 </div>
844 </div>
845 <a class="anchor" id="a3b3a43a2764b7c0b6e6fad7bed300164"></a><!-- doxytag: member="pp::FloatRect::set_y" ref="a3b3a43a2764b7c0b6e6fad7bed300164" args="(float in_y)" -->
846 <div class="memitem">
847 <div class="memproto">
848 <table class="memname">
849 <tr>
850 <td class="memname">void <a class="el" href="classpp_1_1_float_rect.html#a3b3a43a2764b7c0b6e6fad7bed300164">pp::FloatRect::set_y</a> </td>
851 <td>(</td>
852 <td class="paramtype">float&#160;</td>
853 <td class="paramname"><em>in_y</em></td><td>)</td>
854 <td><code> [inline]</code></td>
855 </tr>
856 </table>
857 </div>
858 <div class="memdoc">
859 <p>Setter function for setting the value of y. </p>
860 <dl class="params"><dt><b>Parameters:</b></dt><dd>
861 <table class="params">
862 <tr><td class="paramdir">[in]</td><td class="paramname">in_y</td><td>A new y value. </td></tr>
863 </table>
864 </dd>
865 </dl>
866 </div>
867 </div>
868 <a class="anchor" id="acfadd4bca5c16f05d138e4074b557df2"></a><!-- doxytag: member="pp::FloatRect::SetRect" ref="acfadd4bca5c16f05d138e4074b557df2" args="(float x, float y, float w, float h)" -->
869 <div class="memitem">
870 <div class="memproto">
871 <table class="memname">
872 <tr>
873 <td class="memname">void <a class="el" href="classpp_1_1_float_rect.html#acfadd4bca5c16f05d138e4074b557df2">pp::FloatRect::SetRect</a> </td>
874 <td>(</td>
875 <td class="paramtype">float&#160;</td>
876 <td class="paramname"><em>x</em>, </td>
877 </tr>
878 <tr>
879 <td class="paramkey"></td>
880 <td></td>
881 <td class="paramtype">float&#160;</td>
882 <td class="paramname"><em>y</em>, </td>
883 </tr>
884 <tr>
885 <td class="paramkey"></td>
886 <td></td>
887 <td class="paramtype">float&#160;</td>
888 <td class="paramname"><em>w</em>, </td>
889 </tr>
890 <tr>
891 <td class="paramkey"></td>
892 <td></td>
893 <td class="paramtype">float&#160;</td>
894 <td class="paramname"><em>h</em>&#160;</td>
895 </tr>
896 <tr>
897 <td></td>
898 <td>)</td>
899 <td></td><td><code> [inline]</code></td>
900 </tr>
901 </table>
902 </div>
903 <div class="memdoc">
904 <p>Setter function for setting the value of the <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code>. </p>
905 <dl class="params"><dt><b>Parameters:</b></dt><dd>
906 <table class="params">
907 <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>A new x value. </td></tr>
908 <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>A new y value. </td></tr>
909 <tr><td class="paramdir">[in]</td><td class="paramname">w</td><td>A new width value. </td></tr>
910 <tr><td class="paramdir">[in]</td><td class="paramname">h</td><td>A new height value. </td></tr>
911 </table>
912 </dd>
913 </dl>
914 </div>
915 </div>
916 <a class="anchor" id="ae5c915a40cd7689798c7395824132117"></a><!-- doxytag: member="pp::FloatRect::SetRect" ref="ae5c915a40cd7689798c7395824132117" args="(const PP_FloatRect &amp;rect)" -->
917 <div class="memitem">
918 <div class="memproto">
919 <table class="memname">
920 <tr>
921 <td class="memname">void <a class="el" href="classpp_1_1_float_rect.html#acfadd4bca5c16f05d138e4074b557df2">pp::FloatRect::SetRect</a> </td>
922 <td>(</td>
923 <td class="paramtype">const PP_FloatRect &amp;&#160;</td>
924 <td class="paramname"><em>rect</em></td><td>)</td>
925 <td><code> [inline]</code></td>
926 </tr>
927 </table>
928 </div>
929 <div class="memdoc">
930 <p>Setter function for setting the value of the <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code>. </p>
931 <dl class="params"><dt><b>Parameters:</b></dt><dd>
932 <table class="params">
933 <tr><td class="paramdir">[in]</td><td class="paramname">rect</td><td>A pointer to a <code>PP_FloatRect</code>. </td></tr>
934 </table>
935 </dd>
936 </dl>
937 </div>
938 </div>
939 <a class="anchor" id="a9ab2652f39dc26de8c6750cc8d75d66a"></a><!-- doxytag: member="pp::FloatRect::SharesEdgeWith" ref="a9ab2652f39dc26de8c6750cc8d75d66a" args="(const FloatRect &amp;rect) const " -->
940 <div class="memitem">
941 <div class="memproto">
942 <table class="memname">
943 <tr>
944 <td class="memname">bool <a class="el" href="classpp_1_1_float_rect.html#a9ab2652f39dc26de8c6750cc8d75d66a">pp::FloatRect::SharesEdgeWith</a> </td>
945 <td>(</td>
946 <td class="paramtype">const <a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> &amp;&#160;</td>
947 <td class="paramname"><em>rect</em></td><td>)</td>
948 <td> const</td>
949 </tr>
950 </table>
951 </div>
952 <div class="memdoc">
953 <p><a class="el" href="classpp_1_1_float_rect.html#a9ab2652f39dc26de8c6750cc8d75d66a" title="SharesEdgeWith() determines if this rectangle shares an entire edge (same width or same height) with ...">SharesEdgeWith()</a> determines if this rectangle shares an entire edge (same width or same height) with the given rectangle, and the rectangles do not overlap. </p>
954 <dl class="params"><dt><b>Parameters:</b></dt><dd>
955 <table class="params">
956 <tr><td class="paramdir">[in]</td><td class="paramname">rect</td><td>A pointer to a <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code>.</td></tr>
957 </table>
958 </dd>
959 </dl>
960 <dl class="return"><dt><b>Returns:</b></dt><dd>true if this rectangle and supplied rectangle share an edge. </dd></dl>
961 </div>
962 </div>
963 <a class="anchor" id="a8b1c8031d1442dfcc0d11ea75b396683"></a><!-- doxytag: member="pp::FloatRect::Subtract" ref="a8b1c8031d1442dfcc0d11ea75b396683" args="(const FloatRect &amp;rect) const " -->
964 <div class="memitem">
965 <div class="memproto">
966 <table class="memname">
967 <tr>
968 <td class="memname"><a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> <a class="el" href="classpp_1_1_float_rect.html#a8b1c8031d1442dfcc0d11ea75b396683">pp::FloatRect::Subtract</a> </td>
969 <td>(</td>
970 <td class="paramtype">const <a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> &amp;&#160;</td>
971 <td class="paramname"><em>rect</em></td><td>)</td>
972 <td> const</td>
973 </tr>
974 </table>
975 </div>
976 <div class="memdoc">
977 <p><a class="el" href="classpp_1_1_float_rect.html#a8b1c8031d1442dfcc0d11ea75b396683" title="Subtract() computes the rectangle resulting from subtracting rect from this Rect.">Subtract()</a> computes the rectangle resulting from subtracting <code>rect</code> from this <a class="el" href="classpp_1_1_rect.html" title="A 2 dimensional rectangle.">Rect</a>. </p>
978 <p>If <code>rect</code>does not intersect completely in either the x or y direction, then <code>*this</code> is returned. If <code>rect</code> contains <code>this</code>, then an empty <code><a class="el" href="classpp_1_1_rect.html" title="A 2 dimensional rectangle.">Rect</a></code> is returned.</p>
979 <dl class="params"><dt><b>Parameters:</b></dt><dd>
980 <table class="params">
981 <tr><td class="paramdir">[in]</td><td class="paramname">rect</td><td>A pointer to a <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code>.</td></tr>
982 </table>
983 </dd>
984 </dl>
985 <dl class="return"><dt><b>Returns:</b></dt><dd>A <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code> representing the subtraction. </dd></dl>
986 </div>
987 </div>
988 <a class="anchor" id="abb13835e0dbea82794cd4fa9140adb1e"></a><!-- doxytag: member="pp::FloatRect::Union" ref="abb13835e0dbea82794cd4fa9140adb1e" args="(const FloatRect &amp;rect) const " -->
989 <div class="memitem">
990 <div class="memproto">
991 <table class="memname">
992 <tr>
993 <td class="memname"><a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> <a class="el" href="classpp_1_1_float_rect.html#abb13835e0dbea82794cd4fa9140adb1e">pp::FloatRect::Union</a> </td>
994 <td>(</td>
995 <td class="paramtype">const <a class="el" href="classpp_1_1_float_rect.html">FloatRect</a> &amp;&#160;</td>
996 <td class="paramname"><em>rect</em></td><td>)</td>
997 <td> const</td>
998 </tr>
999 </table>
1000 </div>
1001 <div class="memdoc">
1002 <p><a class="el" href="classpp_1_1_float_rect.html#abb13835e0dbea82794cd4fa9140adb1e" title="Union() computes the union of this rectangle with the given rectangle.">Union()</a> computes the union of this rectangle with the given rectangle. </p>
1003 <p>The union is the smallest rectangle containing both rectangles.</p>
1004 <dl class="params"><dt><b>Parameters:</b></dt><dd>
1005 <table class="params">
1006 <tr><td class="paramdir">[in]</td><td class="paramname">rect</td><td>A pointer to a <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code>.</td></tr>
1007 </table>
1008 </dd>
1009 </dl>
1010 <dl class="return"><dt><b>Returns:</b></dt><dd>A <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code> representing the union. </dd></dl>
1011 </div>
1012 </div>
1013 <a class="anchor" id="a25ffcc41df9f488acf15613f20e240db"></a><!-- doxytag: member="pp::FloatRect::width" ref="a25ffcc41df9f488acf15613f20e240db" args="() const " -->
1014 <div class="memitem">
1015 <div class="memproto">
1016 <table class="memname">
1017 <tr>
1018 <td class="memname">float <a class="el" href="classpp_1_1_float_rect.html#a25ffcc41df9f488acf15613f20e240db">pp::FloatRect::width</a> </td>
1019 <td>(</td>
1020 <td class="paramname"></td><td>)</td>
1021 <td> const<code> [inline]</code></td>
1022 </tr>
1023 </table>
1024 </div>
1025 <div class="memdoc">
1026 <p>Getter function for returning the value of width. </p>
1027 <dl class="return"><dt><b>Returns:</b></dt><dd>The value of width for this <code><a class="el" href="classpp_1_1_float_rect.html" title="A 2 dimensional rectangle.">FloatRect</a></code>. </dd></dl>
1028 </div>
1029 </div>
1030 <a class="anchor" id="a4820c673dc07e6b35f8fc0c42368e92c"></a><!-- doxytag: member="pp::FloatRect::x" ref="a4820c673dc07e6b35f8fc0c42368e92c" args="() const " -->
1031 <div class="memitem">
1032 <div class="memproto">
1033 <table class="memname">
1034 <tr>
1035 <td class="memname">float <a class="el" href="classpp_1_1_float_rect.html#a4820c673dc07e6b35f8fc0c42368e92c">pp::FloatRect::x</a> </td>
1036 <td>(</td>
1037 <td class="paramname"></td><td>)</td>
1038 <td> const<code> [inline]</code></td>
1039 </tr>
1040 </table>
1041 </div>
1042 <div class="memdoc">
1043 <p>Getter function for returning the value of x. </p>
1044 <dl class="return"><dt><b>Returns:</b></dt><dd>The value of x for this <code><a class="el" href="classpp_1_1_float_point.html" title="A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate.">FloatPoint</a></code>. </dd></dl>
1045 </div>
1046 </div>
1047 <a class="anchor" id="ae31847965339e36aa1fe6c4cf8cf479c"></a><!-- doxytag: member="pp::FloatRect::y" ref="ae31847965339e36aa1fe6c4cf8cf479c" args="() const " -->
1048 <div class="memitem">
1049 <div class="memproto">
1050 <table class="memname">
1051 <tr>
1052 <td class="memname">float <a class="el" href="classpp_1_1_float_rect.html#ae31847965339e36aa1fe6c4cf8cf479c">pp::FloatRect::y</a> </td>
1053 <td>(</td>
1054 <td class="paramname"></td><td>)</td>
1055 <td> const<code> [inline]</code></td>
1056 </tr>
1057 </table>
1058 </div>
1059 <div class="memdoc">
1060 <p>Getter function for returning the value of y. </p>
1061 <dl class="return"><dt><b>Returns:</b></dt><dd>The value of y for this <code><a class="el" href="classpp_1_1_float_point.html" title="A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate.">FloatPoint</a></code>. </dd></dl>
1062 </div>
1063 </div>
1064 <hr />The documentation for this class was generated from the following file:<ul>
1065 <li><a class="el" href="rect_8h.html">rect.h</a></li>
1066 </ul>
1067 </div><!-- contents -->
1068 </div>
1069 {{/partials.standard_nacl_api}}