diff options
Diffstat (limited to 'doc/man/man3/tqregion.3qt')
-rw-r--r-- | doc/man/man3/tqregion.3qt | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/man/man3/tqregion.3qt b/doc/man/man3/tqregion.3qt index c88f2760b..49fac54e4 100644 --- a/doc/man/man3/tqregion.3qt +++ b/doc/man/man3/tqregion.3qt @@ -26,7 +26,7 @@ TQRegion \- Clip region for a painter .BI "\fBTQRegion\fR ( const TQRect & r, RegionType t = Rectangle )" .br .ti -1c -.BI "\fBTQRegion\fR ( const TQPointArray & a, bool winding = FALSE )" +.BI "\fBTQRegion\fR ( const TQPointArray & a, bool winding = false )" .br .ti -1c .BI "\fBTQRegion\fR ( const TQRegion & r )" @@ -192,10 +192,10 @@ Create a region based on the rectange \fIr\fR with region type \fIt\fR. If the rectangle is invalid a null region will be created. .PP See also TQRegion::RegionType. -.SH "TQRegion::TQRegion ( const TQPointArray & a, bool winding = FALSE )" +.SH "TQRegion::TQRegion ( const TQPointArray & a, bool winding = false )" Constructs a polygon region from the point array \fIa\fR. .PP -If \fIwinding\fR is TRUE, the polygon region is filled using the winding algorithm, otherwise the default even-odd fill algorithm is used. +If \fIwinding\fR is true, the polygon region is filled using the winding algorithm, otherwise the default even-odd fill algorithm is used. .PP This constructor may create complex regions that will slow down painting when used. .SH "TQRegion::TQRegion ( const TQRegion & r )" @@ -211,11 +211,11 @@ Destroys the region. .SH "TQRect TQRegion::boundingRect () const" Returns the bounding rectangle of this region. An empty region gives a rectangle that is TQRect::isNull(). .SH "bool TQRegion::contains ( const TQPoint & p ) const" -Returns TRUE if the region contains the point \fIp\fR; otherwise returns FALSE. +Returns true if the region contains the point \fIp\fR; otherwise returns false. .SH "bool TQRegion::contains ( const TQRect & r ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns TRUE if the region overlaps the rectangle \fIr\fR; otherwise returns FALSE. +Returns true if the region overlaps the rectangle \fIr\fR; otherwise returns false. .SH "TQRegion TQRegion::eor ( const TQRegion & r ) const" Returns a region which is the exclusive or (XOR) of this region and \fIr\fR. .PP @@ -239,7 +239,7 @@ Returns a region which is the intersection of this region and \fIr\fR. .PP The figure shows the intersection of two elliptical regions. .SH "bool TQRegion::isEmpty () const" -Returns TRUE if the region is empty; otherwise returns FALSE. An empty region is a region that contains no points. +Returns true if the region is empty; otherwise returns false. An empty region is a region that contains no points. .PP Example: .PP @@ -251,37 +251,37 @@ Example: .br TQRegion r3; .br - r1.isNull(); // FALSE + r1.isNull(); // false .br - r1.isEmpty(); // FALSE + r1.isEmpty(); // false .br - r3.isNull(); // TRUE + r3.isNull(); // true .br - r3.isEmpty(); // TRUE + r3.isEmpty(); // true .br r3 = r1.intersect( r2 ); // r3 = intersection of r1 and r2 .br - r3.isNull(); // FALSE + r3.isNull(); // false .br - r3.isEmpty(); // TRUE + r3.isEmpty(); // true .br r3 = r1.unite( r2 ); // r3 = union of r1 and r2 .br - r3.isNull(); // FALSE + r3.isNull(); // false .br - r3.isEmpty(); // FALSE + r3.isEmpty(); // false .br .fi .PP See also isNull(). .SH "bool TQRegion::isNull () const" -Returns TRUE if the region is a null region; otherwise returns FALSE. +Returns true if the region is a null region; otherwise returns false. .PP A null region is a region that has not been initialized. A null region is always empty. .PP See also isEmpty(). .SH "bool TQRegion::operator!= ( const TQRegion & r ) const" -Returns TRUE if the region is different from \fIr\fR; otherwise returns FALSE. +Returns true if the region is different from \fIr\fR; otherwise returns false. .SH "const TQRegion TQRegion::operator& ( const TQRegion & r ) const" Applies the intersect() function to this region and \fIr\fR. \fCr1&r2\fR is equivalent to \fCr1.intersect(r2)\fR .PP @@ -309,7 +309,7 @@ See also subtract(). .SH "TQRegion & TQRegion::operator= ( const TQRegion & r )" Assigns \fIr\fR to this region and returns a reference to the region. .SH "bool TQRegion::operator== ( const TQRegion & r ) const" -Returns TRUE if the region is equal to \fIr\fR; otherwise returns FALSE. +Returns true if the region is equal to \fIr\fR; otherwise returns false. .SH "const TQRegion TQRegion::operator^ ( const TQRegion & r ) const" Applies the eor() function to this region and \fIr\fR. \fCr1^r2\fR is equivalent to \fCr1.eor(r2)\fR .PP |