summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqwmatrix.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-15 19:08:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-18 09:31:41 +0900
commita30f5359f03c3017fa19a6770fab32d25d22cb87 (patch)
treecb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/html/ntqwmatrix.html
parent25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff)
downloadtqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.tar.gz
tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.zip
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqwmatrix.html')
-rw-r--r--doc/html/ntqwmatrix.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/ntqwmatrix.html b/doc/html/ntqwmatrix.html
index 745dfbdad..1f137d36f 100644
--- a/doc/html/ntqwmatrix.html
+++ b/doc/html/ntqwmatrix.html
@@ -87,29 +87,29 @@ The TQWMatrix class specifies 2D transformations of a
coordinate system.
<p>
-<p> The standard coordinate system of a <a href="ntqpaintdevice.html">paint
+<p> The standard coordinate system of a <a href="tqpaintdevice.html">paint
device</a> has the origin located at the top-left position. X
values increase to the right; Y values increase downward.
-<p> This coordinate system is the default for the <a href="ntqpainter.html">TQPainter</a>, which
+<p> This coordinate system is the default for the <a href="tqpainter.html">TQPainter</a>, which
renders graphics in a paint device. A user-defined coordinate
system can be specified by setting a TQWMatrix for the painter.
<p> Example:
<pre>
- MyWidget::paintEvent( <a href="qpaintevent.html">TQPaintEvent</a> * )
+ MyWidget::paintEvent( <a href="tqpaintevent.html">TQPaintEvent</a> * )
{
- <a href="ntqpainter.html">TQPainter</a> p; // our painter
+ <a href="tqpainter.html">TQPainter</a> p; // our painter
TQWMatrix m; // our transformation matrix
m.<a href="#rotate">rotate</a>( 22.5 ); // rotated coordinate system
- p.<a href="ntqpainter.html#begin">begin</a>( this ); // start painting
- p.<a href="ntqpainter.html#setWorldMatrix">setWorldMatrix</a>( m ); // use rotated coordinate system
- p.<a href="ntqpainter.html#drawText">drawText</a>( 30,20, "detator" ); // draw rotated text at 30,20
- p.<a href="ntqpainter.html#end">end</a>(); // painting done
+ p.<a href="tqpainter.html#begin">begin</a>( this ); // start painting
+ p.<a href="tqpainter.html#setWorldMatrix">setWorldMatrix</a>( m ); // use rotated coordinate system
+ p.<a href="tqpainter.html#drawText">drawText</a>( 30,20, "detator" ); // draw rotated text at 30,20
+ p.<a href="tqpainter.html#end">end</a>(); // painting done
}
</pre>
<p> A matrix specifies how to translate, scale, shear or rotate the
graphics; the actual transformation is performed by the drawing
-routines in <a href="ntqpainter.html">TQPainter</a> and by <a href="ntqpixmap.html#xForm">TQPixmap::xForm</a>().
+routines in <a href="tqpainter.html">TQPainter</a> and by <a href="ntqpixmap.html#xForm">TQPixmap::xForm</a>().
<p> The TQWMatrix class contains a 3x3 matrix of the form:
<table align=center border=1 cellpadding=1 cellspacing=0>
<tr align=center><td>m11</td><td>m12</td><td>&nbsp;0 </td></tr>
@@ -162,12 +162,12 @@ that sets <a href="#rotate">rotation</a> directly.
m = m3 * m2 * m1; // combine all transformations
</pre>
-<p> <a href="ntqpainter.html">TQPainter</a> has functions to translate, scale, shear and rotate the
+<p> <a href="tqpainter.html">TQPainter</a> has functions to translate, scale, shear and rotate the
coordinate system without using a TQWMatrix. Although these
functions are very convenient, it can be more efficient to build a
-TQWMatrix and call <a href="ntqpainter.html#setWorldMatrix">TQPainter::setWorldMatrix</a>() if you want to perform
+TQWMatrix and call <a href="tqpainter.html#setWorldMatrix">TQPainter::setWorldMatrix</a>() if you want to perform
more than a single transform operation.
-<p> <p>See also <a href="ntqpainter.html#setWorldMatrix">TQPainter::setWorldMatrix</a>(), <a href="ntqpixmap.html#xForm">TQPixmap::xForm</a>(), <a href="graphics.html">Graphics Classes</a>, and <a href="images.html">Image Processing Classes</a>.
+<p> <p>See also <a href="tqpainter.html#setWorldMatrix">TQPainter::setWorldMatrix</a>(), <a href="ntqpixmap.html#xForm">TQPixmap::xForm</a>(), <a href="graphics.html">Graphics Classes</a>, and <a href="images.html">Image Processing Classes</a>.
<hr><h2>Member Type Documentation</h2>
<h3 class=fn><a name="TransformationMode-enum"></a>TQWMatrix::TransformationMode</h3>