diff options
Diffstat (limited to 'doc/html/tqrect.html')
-rw-r--r-- | doc/html/tqrect.html | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/html/tqrect.html b/doc/html/tqrect.html index 6145e1e18..f67e14723 100644 --- a/doc/html/tqrect.html +++ b/doc/html/tqrect.html @@ -94,10 +94,10 @@ body { background: #ffffff; color: black; } <li class=fn>TQRect <a href="#operator-and"><b>operator&</b></a> ( const TQRect & r ) const</li> <li class=fn>TQRect & <a href="#operator|-eq"><b>operator|=</b></a> ( const TQRect & r )</li> <li class=fn>TQRect & <a href="#operator-and-eq"><b>operator&=</b></a> ( const TQRect & r )</li> -<li class=fn>bool <a href="#contains"><b>contains</b></a> ( const TQPoint & p, bool proper = FALSE ) const</li> +<li class=fn>bool <a href="#contains"><b>contains</b></a> ( const TQPoint & p, bool proper = false ) const</li> <li class=fn>bool <a href="#contains-2"><b>contains</b></a> ( int x, int y ) const</li> <li class=fn>bool <a href="#contains-3"><b>contains</b></a> ( int x, int y, bool proper ) const</li> -<li class=fn>bool <a href="#contains-4"><b>contains</b></a> ( const TQRect & r, bool proper = FALSE ) const</li> +<li class=fn>bool <a href="#contains-4"><b>contains</b></a> ( const TQRect & r, bool proper = false ) const</li> <li class=fn>TQRect <a href="#unite"><b>unite</b></a> ( const TQRect & r ) const</li> <li class=fn>TQRect <a href="#intersect"><b>intersect</b></a> ( const TQRect & r ) const</li> <li class=fn>bool <a href="#intersects"><b>intersects</b></a> ( const TQRect & r ) const</li> @@ -207,34 +207,34 @@ existing coordinates of the rectangle. <p> <p>See also <a href="#moveCenter">moveCenter</a>(), <a href="#topLeft">topLeft</a>(), <a href="#bottomRight">bottomRight</a>(), <a href="#topRight">topRight</a>(), and <a href="#bottomLeft">bottomLeft</a>(). <p>Example: <a href="tooltip-example.html#x447">tooltip/tooltip.cpp</a>. -<h3 class=fn>bool <a name="contains"></a>TQRect::contains ( const <a href="tqpoint.html">TQPoint</a> & p, bool proper = FALSE ) const +<h3 class=fn>bool <a name="contains"></a>TQRect::contains ( const <a href="tqpoint.html">TQPoint</a> & p, bool proper = false ) const </h3> -Returns TRUE if the point <em>p</em> is inside or on the edge of the -rectangle; otherwise returns FALSE. -<p> If <em>proper</em> is TRUE, this function returns TRUE only if <em>p</em> is +Returns true if the point <em>p</em> is inside or on the edge of the +rectangle; otherwise returns false. +<p> If <em>proper</em> is true, this function returns true only if <em>p</em> is inside (not on the edge). <p>Example: <a href="tutorial1-14.html#x2426">t14/cannon.cpp</a>. <h3 class=fn>bool <a name="contains-2"></a>TQRect::contains ( int x, int y ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Returns TRUE if the point <em>x</em>, <em>y</em> is inside this rectangle; -otherwise returns FALSE. +<p> Returns true if the point <em>x</em>, <em>y</em> is inside this rectangle; +otherwise returns false. <h3 class=fn>bool <a name="contains-3"></a>TQRect::contains ( int x, int y, bool proper ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Returns TRUE if the point <em>x</em>, <em>y</em> is inside this rectangle; -otherwise returns FALSE. -<p> If <em>proper</em> is TRUE, this function returns TRUE only if the point +<p> Returns true if the point <em>x</em>, <em>y</em> is inside this rectangle; +otherwise returns false. +<p> If <em>proper</em> is true, this function returns true only if the point is entirely inside (not on the edge). -<h3 class=fn>bool <a name="contains-4"></a>TQRect::contains ( const <a href="tqrect.html">TQRect</a> & r, bool proper = FALSE ) const +<h3 class=fn>bool <a name="contains-4"></a>TQRect::contains ( const <a href="tqrect.html">TQRect</a> & r, bool proper = false ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Returns TRUE if the rectangle <em>r</em> is inside this rectangle; -otherwise returns FALSE. -<p> If <em>proper</em> is TRUE, this function returns TRUE only if <em>r</em> is +<p> Returns true if the rectangle <em>r</em> is inside this rectangle; +otherwise returns false. +<p> If <em>proper</em> is true, this function returns true only if <em>r</em> is entirely inside (not on the edge). <p> <p>See also <a href="#unite">unite</a>(), <a href="#intersect">intersect</a>(), and <a href="#intersects">intersects</a>(). @@ -260,16 +260,16 @@ Returns the intersection of this rectangle and rectangle <em>r</em>. <h3 class=fn>bool <a name="intersects"></a>TQRect::intersects ( const <a href="tqrect.html">TQRect</a> & r ) const </h3> -Returns TRUE if this rectangle intersects with rectangle <em>r</em> +Returns true if this rectangle intersects with rectangle <em>r</em> (there is at least one pixel that is within both rectangles); -otherwise returns FALSE. +otherwise returns false. <p> <p>See also <a href="#intersect">intersect</a>() and <a href="#contains">contains</a>(). <p>Examples: <a href="tutorial1-11.html#x2370">t11/cannon.cpp</a>, <a href="tutorial1-12.html#x2393">t12/cannon.cpp</a>, <a href="tutorial1-13.html#x2406">t13/cannon.cpp</a>, and <a href="tutorial1-14.html#x2427">t14/cannon.cpp</a>. <h3 class=fn>bool <a name="isEmpty"></a>TQRect::isEmpty () const </h3> -<p> Returns TRUE if the rectangle is empty; otherwise returns FALSE. +<p> Returns true if the rectangle is empty; otherwise returns false. <p> An empty rectangle has a <a href="#left">left</a>() > <a href="#right">right</a>() or <a href="#top">top</a>() > <a href="#bottom">bottom</a>(). <p> An empty rectangle is not valid. <tt>isEmpty() == !isValid()</tt> <p> <p>See also <a href="#isNull">isNull</a>(), <a href="#isValid">isValid</a>(), and <a href="#normalize">normalize</a>(). @@ -277,8 +277,8 @@ otherwise returns FALSE. <h3 class=fn>bool <a name="isNull"></a>TQRect::isNull () const </h3> -<p> Returns TRUE if the rectangle is a null rectangle; otherwise -returns FALSE. +<p> Returns true if the rectangle is a null rectangle; otherwise +returns false. <p> A null rectangle has both the width and the height set to 0, that is <a href="#right">right</a>() == <a href="#left">left</a>() - 1 and <a href="#bottom">bottom</a>() == <a href="#top">top</a>() - 1. <p> Note that if right() == left() and bottom() == top(), then the @@ -290,7 +290,7 @@ rectangle has width 1 and height 1. <h3 class=fn>bool <a name="isValid"></a>TQRect::isValid () const </h3> -<p> Returns TRUE if the rectangle is valid; otherwise returns FALSE. +<p> Returns true if the rectangle is valid; otherwise returns false. <p> A valid rectangle has a <a href="#left">left</a>() <= <a href="#right">right</a>() and <a href="#top">top</a>() <= <a href="#bottom">bottom</a>(). <p> Note that non-trivial operations like intersections are not defined for invalid rectangles. @@ -609,7 +609,7 @@ left and right edges, i.e. width = right - left + 1. <h3 class=fn>bool <a name="operator!-eq"></a>operator!= ( const <a href="tqrect.html">TQRect</a> & r1, const <a href="tqrect.html">TQRect</a> & r2 ) </h3> -<p> Returns TRUE if <em>r1</em> and <em>r2</em> are different; otherwise returns FALSE. +<p> Returns true if <em>r1</em> and <em>r2</em> are different; otherwise returns false. <h3 class=fn><a href="tqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt"></a>operator<< ( <a href="tqdatastream.html">TQDataStream</a> & s, const <a href="tqrect.html">TQRect</a> & r ) </h3> @@ -621,7 +621,7 @@ reference to the stream. <h3 class=fn>bool <a name="operator-eq-eq"></a>operator== ( const <a href="tqrect.html">TQRect</a> & r1, const <a href="tqrect.html">TQRect</a> & r2 ) </h3> -<p> Returns TRUE if <em>r1</em> and <em>r2</em> are equal; otherwise returns FALSE. +<p> Returns true if <em>r1</em> and <em>r2</em> are equal; otherwise returns false. <h3 class=fn><a href="tqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt"></a>operator>> ( <a href="tqdatastream.html">TQDataStream</a> & s, <a href="tqrect.html">TQRect</a> & r ) </h3> |