summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqregion.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-20 20:15:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-21 23:04:19 +0900
commit1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (patch)
tree5f1bb482f68ee0f95843fbf375cd2274acdabf25 /doc/man/man3/tqregion.3qt
parent14c414378d96f7463b989384f4a0e5dd76632b6d (diff)
downloadtqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.tar.gz
tqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.zip
Rename graphics class nt* related files to equivalent tq* (part 2)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqregion.3qt')
-rw-r--r--doc/man/man3/tqregion.3qt170
1 files changed, 85 insertions, 85 deletions
diff --git a/doc/man/man3/tqregion.3qt b/doc/man/man3/tqregion.3qt
index 427b399e5..c88f2760b 100644
--- a/doc/man/man3/tqregion.3qt
+++ b/doc/man/man3/tqregion.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QRegion 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQRegion 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,9 +7,9 @@
.ad l
.nh
.SH NAME
-QRegion \- Clip region for a painter
+TQRegion \- Clip region for a painter
.SH SYNOPSIS
-\fC#include <ntqregion.h>\fR
+\fC#include <tqregion.h>\fR
.PP
.SS "Public Members"
.in +1c
@@ -17,28 +17,28 @@ QRegion \- Clip region for a painter
.BI "enum \fBRegionType\fR { Rectangle, Ellipse }"
.br
.ti -1c
-.BI "\fBQRegion\fR ()"
+.BI "\fBTQRegion\fR ()"
.br
.ti -1c
-.BI "\fBQRegion\fR ( int x, int y, int w, int h, RegionType t = Rectangle )"
+.BI "\fBTQRegion\fR ( int x, int y, int w, int h, RegionType t = Rectangle )"
.br
.ti -1c
-.BI "\fBQRegion\fR ( const QRect & r, RegionType t = Rectangle )"
+.BI "\fBTQRegion\fR ( const TQRect & r, RegionType t = Rectangle )"
.br
.ti -1c
-.BI "\fBQRegion\fR ( const QPointArray & a, bool winding = FALSE )"
+.BI "\fBTQRegion\fR ( const TQPointArray & a, bool winding = FALSE )"
.br
.ti -1c
-.BI "\fBQRegion\fR ( const QRegion & r )"
+.BI "\fBTQRegion\fR ( const TQRegion & r )"
.br
.ti -1c
-.BI "\fBQRegion\fR ( const TQBitmap & bm )"
+.BI "\fBTQRegion\fR ( const TQBitmap & bm )"
.br
.ti -1c
-.BI "\fB~QRegion\fR ()"
+.BI "\fB~TQRegion\fR ()"
.br
.ti -1c
-.BI "QRegion & \fBoperator=\fR ( const QRegion & r )"
+.BI "TQRegion & \fBoperator=\fR ( const TQRegion & r )"
.br
.ti -1c
.BI "bool \fBisNull\fR () const"
@@ -47,67 +47,67 @@ QRegion \- Clip region for a painter
.BI "bool \fBisEmpty\fR () const"
.br
.ti -1c
-.BI "bool \fBcontains\fR ( const QPoint & p ) const"
+.BI "bool \fBcontains\fR ( const TQPoint & p ) const"
.br
.ti -1c
-.BI "bool \fBcontains\fR ( const QRect & r ) const"
+.BI "bool \fBcontains\fR ( const TQRect & r ) const"
.br
.ti -1c
.BI "void \fBtranslate\fR ( int dx, int dy )"
.br
.ti -1c
-.BI "QRegion \fBunite\fR ( const QRegion & r ) const"
+.BI "TQRegion \fBunite\fR ( const TQRegion & r ) const"
.br
.ti -1c
-.BI "QRegion \fBintersect\fR ( const QRegion & r ) const"
+.BI "TQRegion \fBintersect\fR ( const TQRegion & r ) const"
.br
.ti -1c
-.BI "QRegion \fBsubtract\fR ( const QRegion & r ) const"
+.BI "TQRegion \fBsubtract\fR ( const TQRegion & r ) const"
.br
.ti -1c
-.BI "QRegion \fBeor\fR ( const QRegion & r ) const"
+.BI "TQRegion \fBeor\fR ( const TQRegion & r ) const"
.br
.ti -1c
-.BI "QRect \fBboundingRect\fR () const"
+.BI "TQRect \fBboundingRect\fR () const"
.br
.ti -1c
-.BI "TQMemArray<QRect> \fBrects\fR () const"
+.BI "TQMemArray<TQRect> \fBrects\fR () const"
.br
.ti -1c
-.BI "const QRegion \fBoperator|\fR ( const QRegion & r ) const"
+.BI "const TQRegion \fBoperator|\fR ( const TQRegion & r ) const"
.br
.ti -1c
-.BI "const QRegion \fBoperator+\fR ( const QRegion & r ) const"
+.BI "const TQRegion \fBoperator+\fR ( const TQRegion & r ) const"
.br
.ti -1c
-.BI "const QRegion \fBoperator&\fR ( const QRegion & r ) const"
+.BI "const TQRegion \fBoperator&\fR ( const TQRegion & r ) const"
.br
.ti -1c
-.BI "const QRegion \fBoperator-\fR ( const QRegion & r ) const"
+.BI "const TQRegion \fBoperator-\fR ( const TQRegion & r ) const"
.br
.ti -1c
-.BI "const QRegion \fBoperator^\fR ( const QRegion & r ) const"
+.BI "const TQRegion \fBoperator^\fR ( const TQRegion & r ) const"
.br
.ti -1c
-.BI "QRegion & \fBoperator|=\fR ( const QRegion & r )"
+.BI "TQRegion & \fBoperator|=\fR ( const TQRegion & r )"
.br
.ti -1c
-.BI "QRegion & \fBoperator+=\fR ( const QRegion & r )"
+.BI "TQRegion & \fBoperator+=\fR ( const TQRegion & r )"
.br
.ti -1c
-.BI "QRegion & \fBoperator&=\fR ( const QRegion & r )"
+.BI "TQRegion & \fBoperator&=\fR ( const TQRegion & r )"
.br
.ti -1c
-.BI "QRegion & \fBoperator-=\fR ( const QRegion & r )"
+.BI "TQRegion & \fBoperator-=\fR ( const TQRegion & r )"
.br
.ti -1c
-.BI "QRegion & \fBoperator^=\fR ( const QRegion & r )"
+.BI "TQRegion & \fBoperator^=\fR ( const TQRegion & r )"
.br
.ti -1c
-.BI "bool \fBoperator==\fR ( const QRegion & r ) const"
+.BI "bool \fBoperator==\fR ( const TQRegion & r ) const"
.br
.ti -1c
-.BI "bool \fBoperator!=\fR ( const QRegion & r ) const"
+.BI "bool \fBoperator!=\fR ( const TQRegion & r ) const"
.br
.ti -1c
.BI "HRGN \fBhandle\fR () const"
@@ -116,20 +116,20 @@ QRegion \- Clip region for a painter
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QRegion & r )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQRegion & r )"
.br
.ti -1c
-.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QRegion & r )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQRegion & r )"
.br
.in -1c
.SH DESCRIPTION
-The QRegion class specifies a clip region for a painter.
+The TQRegion class specifies a clip region for a painter.
.PP
-QRegion is used with TQPainter::setClipRegion() to limit the paint area to what needs to be painted. There is also a TQWidget::repaint() that takes a QRegion parameter. QRegion is the best tool for reducing flicker.
+TQRegion is used with TQPainter::setClipRegion() to limit the paint area to what needs to be painted. There is also a TQWidget::repaint() that takes a TQRegion parameter. TQRegion is the best tool for reducing flicker.
.PP
A region can be created from a rectangle, an ellipse, a polygon or a bitmap. Complex regions may be created by combining simple regions using unite(), intersect(), subtract() or eor() (exclusive or). You can move a region using translate().
.PP
-You can test whether a region isNull(), isEmpty() or if it contains() a QPoint or QRect. The bounding rectangle is given by boundingRect().
+You can test whether a region isNull(), isEmpty() or if it contains() a TQPoint or TQRect. The bounding rectangle is given by boundingRect().
.PP
The function rects() gives a decomposition of the region into rectangles.
.PP
@@ -143,13 +143,13 @@ Example of using complex regions:
.br
TQPainter p; // our painter
.br
- QRegion r1( QRect(100,100,200,80), // r1 = elliptic region
+ TQRegion r1( TQRect(100,100,200,80), // r1 = elliptic region
.br
- QRegion::Ellipse );
+ TQRegion::Ellipse );
.br
- QRegion r2( QRect(100,120,90,30) ); // r2 = rectangular region
+ TQRegion r2( TQRect(100,120,90,30) ); // r2 = rectangular region
.br
- QRegion r3 = r1.intersect( r2 ); // r3 = intersection
+ TQRegion r3 = r1.intersect( r2 ); // r3 = intersection
.br
p.begin( this ); // start painting widget
.br
@@ -163,60 +163,60 @@ Example of using complex regions:
.br
.fi
.PP
-QRegion is an implicitly shared class.
+TQRegion is an implicitly shared class.
.PP
\fBWarning:\fR Due to window system limitations, the whole coordinate space for a region is limited to the points between -32767 and 32767 on Mac OS X and Windows 95/98/ME.
.PP
See also TQPainter::setClipRegion(), TQPainter::setClipRect(), Graphics Classes, and Image Processing Classes.
.SS "Member Type Documentation"
-.SH "QRegion::RegionType"
+.SH "TQRegion::RegionType"
Specifies the shape of the region to be created.
.TP
-\fCQRegion::Rectangle\fR - the region covers the entire rectangle.
+\fCTQRegion::Rectangle\fR - the region covers the entire rectangle.
.TP
-\fCQRegion::Ellipse\fR - the region is an ellipse inside the rectangle.
+\fCTQRegion::Ellipse\fR - the region is an ellipse inside the rectangle.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QRegion::QRegion ()"
+.SH "TQRegion::TQRegion ()"
Constructs a null region.
.PP
See also isNull().
-.SH "QRegion::QRegion ( int x, int y, int w, int h, RegionType t = Rectangle )"
+.SH "TQRegion::TQRegion ( int x, int y, int w, int h, RegionType t = Rectangle )"
Constructs a rectangular or elliptic region.
.PP
If \fIt\fR is Rectangle, the region is the filled rectangle (\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR). If \fIt\fR is Ellipse, the region is the filled ellipse with center at (\fIx\fR + \fIw\fR / 2, \fIy\fR + \fIh\fR / 2) and size (\fIw\fR ,\fIh\fR ).
-.SH "QRegion::QRegion ( const QRect & r, RegionType t = Rectangle )"
+.SH "TQRegion::TQRegion ( const TQRect & r, RegionType t = Rectangle )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Create a region based on the rectange \fIr\fR with region type \fIt\fR.
.PP
If the rectangle is invalid a null region will be created.
.PP
-See also QRegion::RegionType.
-.SH "QRegion::QRegion ( const QPointArray & a, bool winding = FALSE )"
+See also TQRegion::RegionType.
+.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.
.PP
This constructor may create complex regions that will slow down painting when used.
-.SH "QRegion::QRegion ( const QRegion & r )"
+.SH "TQRegion::TQRegion ( const TQRegion & r )"
Constructs a new region which is equal to region \fIr\fR.
-.SH "QRegion::QRegion ( const TQBitmap & bm )"
+.SH "TQRegion::TQRegion ( const TQBitmap & bm )"
Constructs a region from the bitmap \fIbm\fR.
.PP
The resulting region consists of the pixels in bitmap \fIbm\fR that are \fCcolor1\fR, as if each pixel was a 1 by 1 rectangle.
.PP
-This constructor may create complex regions that will slow down painting when used. Note that drawing masked pixmaps can be done much faster using QPixmap::setMask().
-.SH "QRegion::~QRegion ()"
+This constructor may create complex regions that will slow down painting when used. Note that drawing masked pixmaps can be done much faster using TQPixmap::setMask().
+.SH "TQRegion::~TQRegion ()"
Destroys the region.
-.SH "QRect QRegion::boundingRect () const"
-Returns the bounding rectangle of this region. An empty region gives a rectangle that is QRect::isNull().
-.SH "bool QRegion::contains ( const QPoint & p ) const"
+.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.
-.SH "bool QRegion::contains ( const QRect & r ) const"
+.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.
-.SH "QRegion QRegion::eor ( const QRegion & r ) const"
+.SH "TQRegion TQRegion::eor ( const TQRegion & r ) const"
Returns a region which is the exclusive or (XOR) of this region and \fIr\fR.
.PP
<center>
@@ -226,9 +226,9 @@ Returns a region which is the exclusive or (XOR) of this region and \fIr\fR.
</center>
.PP
The figure shows the exclusive or of two elliptical regions.
-.SH "HRGN QRegion::handle () const"
+.SH "HRGN TQRegion::handle () const"
Returns the region's handle.
-.SH "QRegion QRegion::intersect ( const QRegion & r ) const"
+.SH "TQRegion TQRegion::intersect ( const TQRegion & r ) const"
Returns a region which is the intersection of this region and \fIr\fR.
.PP
<center>
@@ -238,18 +238,18 @@ Returns a region which is the intersection of this region and \fIr\fR.
</center>
.PP
The figure shows the intersection of two elliptical regions.
-.SH "bool QRegion::isEmpty () const"
+.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.
.PP
Example:
.PP
.nf
.br
- QRegion r1( 10, 10, 20, 20 );
+ TQRegion r1( 10, 10, 20, 20 );
.br
- QRegion r2( 40, 40, 20, 20 );
+ TQRegion r2( 40, 40, 20, 20 );
.br
- QRegion r3;
+ TQRegion r3;
.br
r1.isNull(); // FALSE
.br
@@ -274,63 +274,63 @@ Example:
.fi
.PP
See also isNull().
-.SH "bool QRegion::isNull () const"
+.SH "bool TQRegion::isNull () const"
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 QRegion::operator!= ( const QRegion & r ) const"
+.SH "bool TQRegion::operator!= ( const TQRegion & r ) const"
Returns TRUE if the region is different from \fIr\fR; otherwise returns FALSE.
-.SH "const QRegion QRegion::operator& ( const QRegion & r ) const"
+.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
See also intersect().
-.SH "QRegion & QRegion::operator&= ( const QRegion & r )"
+.SH "TQRegion & TQRegion::operator&= ( const TQRegion & r )"
Applies the intersect() function to this region and \fIr\fR and assigns the result to this region. \fCr1&=r2\fR is equivalent to \fCr1=r1.intersect(r2)\fR
.PP
See also intersect().
-.SH "const QRegion QRegion::operator+ ( const QRegion & r ) const"
+.SH "const TQRegion TQRegion::operator+ ( const TQRegion & r ) const"
Applies the unite() function to this region and \fIr\fR. \fCr1+r2\fR is equivalent to \fCr1.unite(r2)\fR
.PP
See also unite() and operator|().
-.SH "QRegion & QRegion::operator+= ( const QRegion & r )"
+.SH "TQRegion & TQRegion::operator+= ( const TQRegion & r )"
Applies the unite() function to this region and \fIr\fR and assigns the result to this region. \fCr1+=r2\fR is equivalent to \fCr1=r1.unite(r2)\fR
.PP
See also intersect().
-.SH "const QRegion QRegion::operator- ( const QRegion & r ) const"
+.SH "const TQRegion TQRegion::operator- ( const TQRegion & r ) const"
Applies the subtract() function to this region and \fIr\fR. \fCr1-r2\fR is equivalent to \fCr1.subtract(r2)\fR
.PP
See also subtract().
-.SH "QRegion & QRegion::operator-= ( const QRegion & r )"
+.SH "TQRegion & TQRegion::operator-= ( const TQRegion & r )"
Applies the subtract() function to this region and \fIr\fR and assigns the result to this region. \fCr1-=r2\fR is equivalent to \fCr1=r1.subtract(r2)\fR
.PP
See also subtract().
-.SH "QRegion & QRegion::operator= ( const QRegion & r )"
+.SH "TQRegion & TQRegion::operator= ( const TQRegion & r )"
Assigns \fIr\fR to this region and returns a reference to the region.
-.SH "bool QRegion::operator== ( const QRegion & r ) const"
+.SH "bool TQRegion::operator== ( const TQRegion & r ) const"
Returns TRUE if the region is equal to \fIr\fR; otherwise returns FALSE.
-.SH "const QRegion QRegion::operator^ ( const QRegion & r ) const"
+.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
See also eor().
-.SH "QRegion & QRegion::operator^= ( const QRegion & r )"
+.SH "TQRegion & TQRegion::operator^= ( const TQRegion & r )"
Applies the eor() function to this region and \fIr\fR and assigns the result to this region. \fCr1^=r2\fR is equivalent to \fCr1=r1.eor(r2)\fR
.PP
See also eor().
-.SH "const QRegion QRegion::operator| ( const QRegion & r ) const"
+.SH "const TQRegion TQRegion::operator| ( const TQRegion & r ) const"
Applies the unite() function to this region and \fIr\fR. \fCr1|r2\fR is equivalent to \fCr1.unite(r2)\fR
.PP
See also unite() and operator+().
-.SH "QRegion & QRegion::operator|= ( const QRegion & r )"
+.SH "TQRegion & TQRegion::operator|= ( const TQRegion & r )"
Applies the unite() function to this region and \fIr\fR and assigns the result to this region. \fCr1|=r2\fR is equivalent to \fCr1=r1.unite(r2)\fR
.PP
See also unite().
-.SH "TQMemArray<QRect> QRegion::rects () const"
+.SH "TQMemArray<TQRect> TQRegion::rects () const"
Returns an array of non-overlapping rectangles that make up the region.
.PP
The union of all the rectangles is equal to the original region.
-.SH "QRegion QRegion::subtract ( const QRegion & r ) const"
+.SH "TQRegion TQRegion::subtract ( const TQRegion & r ) const"
Returns a region which is \fIr\fR subtracted from this region.
.PP
<center>
@@ -340,9 +340,9 @@ Returns a region which is \fIr\fR subtracted from this region.
</center>
.PP
The figure shows the result when the ellipse on the right is subtracted from the ellipse on the left. (\fCleft-right\fR )
-.SH "void QRegion::translate ( int dx, int dy )"
+.SH "void TQRegion::translate ( int dx, int dy )"
Translates (moves) the region \fIdx\fR along the X axis and \fIdy\fR along the Y axis.
-.SH "QRegion QRegion::unite ( const QRegion & r ) const"
+.SH "TQRegion TQRegion::unite ( const TQRegion & r ) const"
Returns a region which is the union of this region and \fIr\fR.
.PP
<center>
@@ -353,17 +353,17 @@ Returns a region which is the union of this region and \fIr\fR.
.PP
The figure shows the union of two elliptical regions.
.SH RELATED FUNCTION DOCUMENTATION
-.SH "TQDataStream & operator<< ( TQDataStream & s, const QRegion & r )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const TQRegion & r )"
Writes the region \fIr\fR to the stream \fIs\fR and returns a reference to the stream.
.PP
See also Format of the TQDataStream operators.
-.SH "TQDataStream & operator>> ( TQDataStream & s, QRegion & r )"
+.SH "TQDataStream & operator>> ( TQDataStream & s, TQRegion & r )"
Reads a region from the stream \fIs\fR into \fIr\fR and returns a reference to the stream.
.PP
See also Format of the TQDataStream operators.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqregion.html
+.BR http://doc.trolltech.com/tqregion.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the