summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqcanvasview.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/tqcanvasview.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/tqcanvasview.3qt')
-rw-r--r--doc/man/man3/tqcanvasview.3qt22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/man/man3/tqcanvasview.3qt b/doc/man/man3/tqcanvasview.3qt
index afb8ae8a4..32a46003d 100644
--- a/doc/man/man3/tqcanvasview.3qt
+++ b/doc/man/man3/tqcanvasview.3qt
@@ -31,13 +31,13 @@ Inherits QScrollView.
.BI "void \fBsetCanvas\fR ( TQCanvas * canvas )"
.br
.ti -1c
-.BI "const QWMatrix & \fBworldMatrix\fR () const"
+.BI "const TQWMatrix & \fBworldMatrix\fR () const"
.br
.ti -1c
-.BI "const QWMatrix & \fBinverseWorldMatrix\fR () const"
+.BI "const TQWMatrix & \fBinverseWorldMatrix\fR () const"
.br
.ti -1c
-.BI "bool \fBsetWorldMatrix\fR ( const QWMatrix & wm )"
+.BI "bool \fBsetWorldMatrix\fR ( const TQWMatrix & wm )"
.br
.in -1c
.SS "Protected Members"
@@ -82,7 +82,7 @@ A transformation matrix can be used to transform the view of the canvas in vario
.PP
.nf
.br
- QWMatrix wm;
+ TQWMatrix wm;
.br
wm.scale( 2, 2 ); // Zooms in by 2 times
.br
@@ -108,15 +108,15 @@ The following code finds the part of the canvas that is visible in this view, i.
.PP
.nf
.br
- QRect rc = QRect( myCanvasView->contentsX(), myCanvasView->contentsY(),
+ TQRect rc = TQRect( myCanvasView->contentsX(), myCanvasView->contentsY(),
.br
myCanvasView->visibleWidth(), myCanvasView->visibleHeight() );
.br
- QRect canvasRect = myCanvasView->inverseWorldMatrix().mapRect(rc);
+ TQRect canvasRect = myCanvasView->inverseWorldMatrix().mapRect(rc);
.br
.fi
.PP
-See also QWMatrix, TQPainter::setWorldMatrix(), Graphics Classes, and Image Processing Classes.
+See also TQWMatrix, TQPainter::setWorldMatrix(), Graphics Classes, and Image Processing Classes.
.PP
.SH MEMBER FUNCTION DOCUMENTATION
.SH "TQCanvasView::TQCanvasView ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )"
@@ -137,25 +137,25 @@ Repaints part of the TQCanvas that the canvas view is showing starting at \fIcx\
See also TQCanvas::setDoubleBuffering().
.PP
Reimplemented from QScrollView.
-.SH "const QWMatrix & TQCanvasView::inverseWorldMatrix () const"
+.SH "const TQWMatrix & TQCanvasView::inverseWorldMatrix () const"
Returns a reference to the inverse of the canvas view's current transformation matrix.
.PP
See also setWorldMatrix() and worldMatrix().
.SH "void TQCanvasView::setCanvas ( TQCanvas * canvas )"
Sets the canvas that the TQCanvasView is showing to the canvas \fIcanvas\fR.
-.SH "bool TQCanvasView::setWorldMatrix ( const QWMatrix & wm )"
+.SH "bool TQCanvasView::setWorldMatrix ( const TQWMatrix & wm )"
Sets the transformation matrix of the TQCanvasView to \fIwm\fR. The matrix must be invertible (i.e. if you create a world matrix that zooms out by 2 times, then the inverse of this matrix is one that will zoom in by 2 times).
.PP
When you use this, you should note that the performance of the TQCanvasView will decrease considerably.
.PP
Returns FALSE if \fIwm\fR is not invertable; otherwise returns TRUE.
.PP
-See also worldMatrix(), inverseWorldMatrix(), and QWMatrix::isInvertible().
+See also worldMatrix(), inverseWorldMatrix(), and TQWMatrix::isInvertible().
.PP
Example: canvas/canvas.cpp.
.SH "TQSize TQCanvasView::sizeHint () const\fC [virtual protected]\fR"
Suggests a size sufficient to view the entire canvas.
-.SH "const QWMatrix & TQCanvasView::worldMatrix () const"
+.SH "const TQWMatrix & TQCanvasView::worldMatrix () const"
Returns a reference to the canvas view's current transformation matrix.
.PP
See also setWorldMatrix() and inverseWorldMatrix().