Home | History | Annotate | Download | only in cpp

Lines Matching full:code

2 // Use of this source code is governed by a BSD-style license that can be
22 /// The default constructor. Creates a <code>Rect</code> in the upper-left
31 /// A constructor accepting a reference to a <code>PP_Rect and</code>
32 /// converting the <code>PP_Rect</code> to a <code>Rect</code>. This is an
35 /// @param[in] rect A <code>PP_Rect</code>.
44 /// converting them to a <code>Rect</code> in the upper-left starting
72 /// <code>Size</code> to a <code>Rect</code> in the upper-left starting
75 /// @param[in] s A pointer to a <code>Size</code>.
82 /// A constructor accepting a pointer to a <code>Point</code> representing
83 /// the origin of the rectangle and a pointer to a <code>Size</code>
86 /// @param[in] origin A pointer to a <code>Point</code> representing the
88 /// @param[in] size A pointer to a <code>Size</code> representing the height
99 /// PP_Rect() allows implicit conversion of a <code>Rect</code> to a
100 /// <code>PP_Rect</code>.
102 /// @return A <code>Point</code>.
107 /// Getter function for returning the internal <code>PP_Rect</code> struct.
109 /// @return A const reference to the internal <code>PP_Rect</code> struct.
114 /// Getter function for returning the internal <code>PP_Rect</code> struct.
116 /// @return A mutable reference to the <code>PP_Rect</code> struct.
124 /// @return The value of x for this <code>Point</code>.
138 /// @return The value of y for this <code>Point</code>.
152 /// @return The value of width for this <code>Rect</code>.
170 /// @return The value of height for this <code>Rect</code>.
186 /// Getter function for returning the <code>Point</code>.
188 /// @return A <code>Point</code>.
193 /// Setter function for setting the value of the <code>Point</code>.
195 /// @param[in] origin A <code>Point</code> representing the upper-left
201 /// Getter function for returning the <code>Size</code>.
208 /// Setter function for setting the <code>Size</code>.
210 /// @param[in] s A pointer to a <code>Size</code> representing the height
221 /// <code>for (int32_t x = rect.x(); x < rect.right(); ++x) {}</code>
232 /// <code>for (int32_t y = rect.y(); y < rect.bottom(); ++y) {}</code>
239 /// Setter function for setting the value of the <code>Rect</code>.
252 /// Setter function for setting the value of the <code>Rect</code>.
254 /// @param[in] rect A pointer to a <code>PP_Rect</code>.
293 /// @param[in] point A pointer to a <code>Point</code> representing the
329 /// @param[in] rect A pointer to a <code>Rect</code>.
337 /// @param[in] rect A pointer to a <code>Rect</code>.
345 /// @param[in] rect A pointer to a <code>Rect</code>.
347 /// @return A <code>Rect</code> representing the intersection.
353 /// @param[in] rect A pointer to a <code>Rect</code>.
355 /// @return A <code>Rect</code> representing the union.
359 /// <code>rect</code> from this Rect. If <code>rect</code>does not intersect
360 /// completely in either the x or y direction, then <code>*this</code> is
361 /// returned. If <code>rect</code> contains <code>this</code>, then an empty
362 /// <code>Rect</code> is returned.
364 /// @param[in] rect A pointer to a <code>Rect</code>.
366 /// @return A <code>Rect</code> representing the subtraction.
375 /// @param[in] rect A pointer to a <code>Rect</code>.
377 /// @return A <code>Rect</code> representing the difference between this
383 /// @return A <code>Point</code> representing the center of this rectangle.
390 /// @param[in] rect A pointer to a <code>Rect</code>.
404 /// @param[in] lhs The <code>Rect</code> on the left-hand side of the equation.
405 /// @param[in] rhs The <code>Rect</code> on the right-hand side of the equation.
417 /// @param[in] lhs The <code>Rect</code> on the left-hand side of the equation.
418 /// @param[in] rhs The <code>Rect</code> on the right-hand side of the