<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:06:00 CEST 2007 --> <TITLE> QTransform </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.gui.QTransform class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="QTransform"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/gui/QToolTip.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QTransform.TransformationType.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/gui/QTransform.html" target="_top"><B>FRAMES</B></A> <A HREF="QTransform.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.trolltech.qt.gui</FONT> <BR> Class QTransform</H2> <PRE> java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QTransform</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>QTransform</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></DL> </PRE> <P> <p>The <a href="QTransform.html#QTransform()"><tt>QTransform</tt></a> class specifies 2D transformations of a coordinate system.</p> <p>A transformation specifies how to translate, scale, shear, rotate or project the coordinate system, and is typically used when rendering graphics.</p> <p><a href="QTransform.html#QTransform()"><tt>QTransform</tt></a> differs from <a href="QMatrix.html"><tt>QMatrix</tt></a> in that it is a true 3x3 matrix, allowing perpective transformations. <a href="QTransform.html#QTransform()"><tt>QTransform</tt></a>'s <a href="QTransform.html#toAffine()"><tt>toAffine</tt></a> method allows casting <a href="QTransform.html#QTransform()"><tt>QTransform</tt></a> to <a href="QMatrix.html"><tt>QMatrix</tt></a>. If a perspective transformation has been specified on the matrix, then the conversion to an affine <a href="QMatrix.html"><tt>QMatrix</tt></a> will cause loss of data.</p> <p><a href="QTransform.html#QTransform()"><tt>QTransform</tt></a> is the recommended transformation class in Qt.</p> <p>A <a href="QTransform.html#QTransform()"><tt>QTransform</tt></a> object can be built using the <a href="QTransform.html#setMatrix(double, double, double, double, double, double, double, double, double)"><tt>setMatrix</tt></a>, scale(), rotate(), translate() and shear() functions. Alternatively, it can be built by applying basic matrix operations</tt>. The matrix can also be defined when constructed, and it can be reset to the identity matrix (the default) using the <a href="QTransform.html#reset()"><tt>reset</tt></a> function.</p> <p>The <a href="QTransform.html#QTransform()"><tt>QTransform</tt></a> class supports mapping of graphic primitives: A given point, line, polygon, region, or painter path can be mapped to the coordinate system defined by <i>this</i> matrix using the <a href="QTransform.html#map(com.trolltech.qt.gui.QRegion)"><tt>map</tt></a> function. In case of a rectangle, its coordinates can be transformed using the <a href="QTransform.html#mapRect(com.trolltech.qt.core.QRect)"><tt>mapRect</tt></a> function. A rectangle can also be transformed into a <i>polygon</i> (mapped to the coordinate system defined by <i>this</i> matrix), using the <a href="QTransform.html#mapToPolygon(com.trolltech.qt.core.QRect)"><tt>mapToPolygon</tt></a> function.</p> <p><a href="QTransform.html#QTransform()"><tt>QTransform</tt></a> provides the <a href="QTransform.html#isIdentity()"><tt>isIdentity</tt></a> function which returns true if the matrix is the identity matrix, and the <a href="QTransform.html#isInvertible()"><tt>isInvertible</tt></a> function which returns true if the matrix is non-singular (i.e. AB = BA = I). The inverted() function returns an inverted copy of <i>this</i> matrix if it is invertible (otherwise it returns the identity matrix). In addition, <a href="QTransform.html#QTransform()"><tt>QTransform</tt></a> provides the <a href="QTransform.html#det()"><tt>det</tt></a> function returning the matrix's determinant.</p> <p>Finally, the <a href="QTransform.html#QTransform()"><tt>QTransform</tt></a> class supports matrix multiplication, and objects of the class can be streamed as well as compared.</p> <ul><li><a href="#rendering-graphics">Rendering Graphics</a></li> <li><a href="#basic-matrix-operations">Basic Matrix Operations</a></li> </ul> <a name="rendering-graphics"></a> <h3>Rendering Graphics</h3> <p>When rendering graphics, the matrix defines the transformations but the actual transformation is performed by the drawing routines in <a href="QPainter.html"><tt>QPainter</tt></a>.</p> <p>By default, <a href="QPainter.html"><tt>QPainter</tt></a> operates on the associated device's own coordinate system. The standard coordinate system of a <a href="QPaintDevice.html"><tt>QPaintDevice</tt></a> has its origin located at the top-left position. The <i>x</i> values increase to the right; <i>y</i> values increase downward. For a complete description, see the <a href="%2E%2E/coordsys.html">coordinate system</tt></a> documentation.</p> <p><a href="QPainter.html"><tt>QPainter</tt></a> has functions to translate, scale, shear and rotate the coordinate system without using a <a href="QTransform.html#QTransform()"><tt>QTransform</tt></a>. For example:</p> <p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0"> <tr valign="top" class="odd"><td><img src="%2E%2E/images/qtransform-simpletransformation.png" /></td><td><pre> void SimpleTransformation::paintEvent(QPaintEvent *) { QPainter painter(this); painter.setPen(QPen(Qt::blue, 1, Qt::DashLine)); painter.drawRect(0, 0, 100, 100); painter.rotate(45); painter.setFont(QFont("Helvetica", 24)); painter.setPen(QPen(Qt::black, 1)); painter.drawText(20, 10, "QTransform"); }</pre> </td></tr> </table></p> <p>Although these functions are very convenient, it can be more efficient to build a <a href="QTransform.html#QTransform()"><tt>QTransform</tt></a> and call QPainter::setTransform() if you want to perform more than a single transform operation. For example:</p> <p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0"> <tr valign="top" class="odd"><td><img src="%2E%2E/images/qtransform-combinedtransformation.png" /></td><td><pre> void CombinedTransformation::paintEvent(QPaintEvent *) { QPainter painter(this); painter.setPen(QPen(Qt::blue, 1, Qt::DashLine)); painter.drawRect(0, 0, 100, 100); QTransform transform; transform.translate(50, 50); transform.rotate(45); transform.scale(0.5, 1.0); painter.setTransform(transform); painter.setFont(QFont("Helvetica", 24)); painter.setPen(QPen(Qt::black, 1)); painter.drawText(20, 10, "QTransform"); }</pre> </td></tr> </table></p> <a name="basic-matrix-operations"></a> <h3>Basic Matrix Operations</h3> <p align="center"><img src="%2E%2E/images/qmatrix-representation.png" /></p><p>A <a href="QTransform.html#QTransform()"><tt>QTransform</tt></a> object contains a 3 x 3 matrix. The <tt>dx</tt> and <tt>dy</tt> elements specify horizontal and vertical translation. The <tt>m11</tt> and <tt>m22</tt> elements specify horizontal and vertical scaling. And finally, the <tt>m21</tt> and <tt>m12</tt> elements specify horizontal and vertical <i>shearing</i>.</p> <p><a href="QTransform.html#QTransform()"><tt>QTransform</tt></a> transforms a point in the plane to another point using the following formulas:</p> <pre> x' = m11*x + m21*y + dx y' = m22*y + m12*x + dy</pre> <p>The point <i>(x, y)</i> is the original point, and <i>(x', y')</i> is the transformed point. <i>(x', y')</i> can be transformed back to <i>(x, y)</i> by performing the same operation on the inverted() matrix.</p> <p>The various matrix elements can be set when constructing the matrix, or by using the <a href="QTransform.html#setMatrix(double, double, double, double, double, double, double, double, double)"><tt>setMatrix</tt></a> function later on. They also be manipulated using the translate(), rotate(), scale() and shear() convenience functions, The currently set values can be retrieved using the <a href="QTransform.html#m11()"><tt>m11</tt></a>, <a href="QTransform.html#m12()"><tt>m12</tt></a>, <a href="QTransform.html#m21()"><tt>m21</tt></a>, <a href="QTransform.html#m22()"><tt>m22</tt></a>, <a href="QTransform.html#dx()"><tt>dx</tt></a> and <a href="QTransform.html#dy()"><tt>dy</tt></a> functions.</p> <p>Translation is the simplest transformation. Setting <tt>dx</tt> and <tt>dy</tt> will move the coordinate system <tt>dx</tt> units along the X axis and <tt>dy</tt> units along the Y axis. Scaling can be done by setting <tt>m11</tt> and <tt>m22</tt>. For example, setting <tt>m11</tt> to 2 and <tt>m22</tt> to 1.5 will double the height and increase the width by 50%. The identity matrix has <tt>m11</tt> and <tt>m22</tt> set to 1 (all others are set to 0) mapping a point to itself. Shearing is controlled by <tt>m12</tt> and <tt>m21</tt>. Setting these elements to values different from zero will twist the coordinate system. Rotation is achieved by carefully setting both the shearing factors and the scaling factors.</p> <p>Here's the combined transformations example using basic matrix operations:</p> <p><table width="100%" align="center" cellpadding="2" cellspacing="1" border="0"> <tr valign="top" class="odd"><td><img src="%2E%2E/images/qtransform-combinedtransformation2.png" /></td><td><pre> void BasicOperations::paintEvent(QPaintEvent *) { double pi = 3.14; double a = pi/180 * 45.0; double sina = sin(a); double cosa = cos(a); QTransform translationTransform(1, 0, 0, 1, 50.0, 50.0); QTransform rotationTransform(cosa, sina, -sina, cosa, 0, 0); QTransform scalingTransform(0.5, 0, 0, 1.0, 0, 0); QTransform transform; transform = scalingTransform * rotationTransform * translationTransform; QPainter painter(this); painter.setPen(QPen(Qt::blue, 1, Qt::DashLine)); painter.drawRect(0, 0, 100, 100); painter.setTransform(transform); painter.setFont(QFont("Helvetica", 24)); painter.setPen(QPen(Qt::black, 1)); painter.drawText(20, 10, "QTransform"); }</pre> </td></tr> </table></p> <P> <P> <DL> <DT><B>See Also:</B><DD><a href="QPainter.html"><tt>QPainter</tt></a>, <a href="%2E%2E/coordsys.html">The Coordinate System</tt></a>, <CODE>Transformations Demo</tt></CODE>, <CODE>Example</tt></CODE></DL> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <A NAME="nested_class_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Nested Class Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.TransformationType.html" title="enum in com.trolltech.qt.gui">QTransform.TransformationType</A></B></CODE> <BR> Press link for info on QTransform.TransformationType</TD> </TR> </TABLE> <A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>></CODE></TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#QTransform()">QTransform</A></B>()</CODE> <BR> Constructs an identity matrix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#QTransform(double, double, double, double, double, double)">QTransform</A></B>(double h11, double h12, double h13, double h21, double h22, double h23)</CODE> <BR> Constructs a matrix with the elements, <tt>h11</tt>, <tt>h12</tt>, <tt>h13</tt>, <tt>h21</tt>, <tt>h22</tt> and <tt>h23</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#QTransform(double, double, double, double, double, double, double, double)">QTransform</A></B>(double h11, double h12, double h13, double h21, double h22, double h23, double h31, double h32)</CODE> <BR> Equivalent to <a href="QTransform.html#QTransform()"><tt>QTransform</tt></a>(<tt>h11</tt>, <tt>h12</tt>, <tt>h13</tt>, <tt>h21</tt>, <tt>h22</tt>, <tt>h23</tt>, <tt>h31</tt>, <tt>h32</tt>, 1.0).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#QTransform(double, double, double, double, double, double, double, double, double)">QTransform</A></B>(double h11, double h12, double h13, double h21, double h22, double h23, double h31, double h32, double h33)</CODE> <BR> Constructs a matrix with the elements, <tt>h11</tt>, <tt>h12</tt>, <tt>h13</tt>, <tt>h21</tt>, <tt>h22</tt>, <tt>h23</tt>, <tt>h31</tt>, <tt>h32</tt>, <tt>h33</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#QTransform(com.trolltech.qt.gui.QMatrix)">QTransform</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A> mtx)</CODE> <BR> Constructs a matrix that is a copy of the given <tt>mtx</tt>.</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#add(double)">add</A></B>(double d)</CODE> <BR> Adds <tt>d</tt> to this QTransform.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#adjoint()">adjoint</A></B>()</CODE> <BR> Returns the adjoint of this matrix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#det()">det</A></B>()</CODE> <BR> Returns the matrix's determinant.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#determinant()">determinant</A></B>()</CODE> <BR> Returns the matrix's determinant.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#divide(double)">divide</A></B>(double d)</CODE> <BR> Divides this QTransform by <tt>d</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#dx()">dx</A></B>()</CODE> <BR> Returns the horizontal translation factor.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#dy()">dy</A></B>()</CODE> <BR> Returns the vertical translation factor.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object other)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</CODE> <BR> This function returns the QTransform instance pointed to by nativePointer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#inverted()">inverted</A></B>()</CODE> <BR> Returns an inverted copy of this transformation.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#isAffine()">isAffine</A></B>()</CODE> <BR> Returns true if the matrix represent an affine transformation, otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#isIdentity()">isIdentity</A></B>()</CODE> <BR> Returns true if the matrix is the identity matrix, otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#isInvertible()">isInvertible</A></B>()</CODE> <BR> Returns true if the matrix is invertible, otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#isRotating()">isRotating</A></B>()</CODE> <BR> Returns true if the matrix represents some kind of a scaling transformation, otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#isScaling()">isScaling</A></B>()</CODE> <BR> Returns true if the matrix represents a scaling transformation, otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#isTranslating()">isTranslating</A></B>()</CODE> <BR> Returns true if the matrix represents a translating transformation, otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#m11()">m11</A></B>()</CODE> <BR> Returns the horizontal scaling factor.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#m12()">m12</A></B>()</CODE> <BR> Returns the vertical shearing factor.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#m13()">m13</A></B>()</CODE> <BR> Returns the horizontal projection factor.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#m21()">m21</A></B>()</CODE> <BR> Returns the horizontal shearing factor.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#m22()">m22</A></B>()</CODE> <BR> Returns the vertical scaling factor.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#m23()">m23</A></B>()</CODE> <BR> Returns the vertical projection factor.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#m31()">m31</A></B>()</CODE> <BR> Returns the horizontal translation factor.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#m32()">m32</A></B>()</CODE> <BR> Returns the vertical translation factor.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#m33()">m33</A></B>()</CODE> <BR> Returns the division factor.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QLine.html" title="class in com.trolltech.qt.gui">QLine</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#map(com.trolltech.qt.gui.QLine)">map</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QLine.html" title="class in com.trolltech.qt.gui">QLine</A> l)</CODE> <BR> Creates and returns a <a href="QLineF.html"><tt>QLineF</tt></a> object that is a copy of the given line, <tt>l</tt>, mapped into the coordinate system defined by this matrix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QLineF.html" title="class in com.trolltech.qt.gui">QLineF</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#map(com.trolltech.qt.gui.QLineF)">map</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QLineF.html" title="class in com.trolltech.qt.gui">QLineF</A> l)</CODE> <BR> Creates and returns a <a href="QLine.html"><tt>QLine</tt></a> object that is a copy of the given <tt>l</tt>, mapped into the coordinate system defined by this matrix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#map(com.trolltech.qt.gui.QPainterPath)">map</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A> p)</CODE> <BR> Creates and returns a <a href="QPainterPath.html"><tt>QPainterPath</tt></a> object that is a copy of the given <tt>p</tt>, mapped into the coordinate system defined by this matrix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#map(com.trolltech.qt.core.QPoint)">map</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> p)</CODE> <BR> Creates and returns a <a href="%2E%2E/core/QPoint.html"><tt>QPoint</tt></a> object that is a copy of the given <tt>p</tt>, mapped into the coordinate system defined by this matrix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#map(com.trolltech.qt.core.QPointF)">map</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> p)</CODE> <BR> Creates and returns a <a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a> object that is a copy of the given point, <tt>p</tt>, mapped into the coordinate system defined by this matrix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#map(com.trolltech.qt.gui.QPolygon)">map</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A> a)</CODE> <BR> Creates and returns a <a href="QPolygon.html"><tt>QPolygon</tt></a> object that is a copy of the given <tt>a</tt>, mapped into the coordinate system defined by this matrix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#map(com.trolltech.qt.gui.QPolygonF)">map</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> a)</CODE> <BR> Creates and returns a <a href="QPolygonF.html"><tt>QPolygonF</tt></a> object that is a copy of the given <tt>a</tt>, mapped into the coordinate system defined by this matrix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#map(com.trolltech.qt.gui.QRegion)">map</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> r)</CODE> <BR> Creates and returns a <a href="QRegion.html"><tt>QRegion</tt></a> object that is a copy of the given <tt>r</tt>, mapped into the coordinate system defined by this matrix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#mapRect(com.trolltech.qt.core.QRect)">mapRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> arg__1)</CODE> <BR> Creates and returns a <a href="%2E%2E/core/QRect.html"><tt>QRect</tt></a> object that is a copy of the given <tt>arg__1</tt>, mapped into the coordinate system defined by this matrix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#mapRect(com.trolltech.qt.core.QRectF)">mapRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> arg__1)</CODE> <BR> Creates and returns a <a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a> object that is a copy of the given <tt>arg__1</tt>, mapped into the coordinate system defined by this matrix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#mapToPolygon(com.trolltech.qt.core.QRect)">mapToPolygon</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> r)</CODE> <BR> Creates and returns a <a href="QPolygon.html"><tt>QPolygon</tt></a> representation of the given <tt>r</tt>, mapped into the coordinate system defined by this matrix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#multiply(double)">multiply</A></B>(double d)</CODE> <BR> Multiplies this QTransform with <tt>d</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#nativePointerArray(com.trolltech.qt.gui.QTransform[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>[] array)</CODE> <BR> This function returns a QNativePointer that is pointing to the specified QTransform array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#quadToQuad(com.trolltech.qt.gui.QPolygonF, com.trolltech.qt.gui.QPolygonF)">quadToQuad</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> from, <A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> to)</CODE> <BR> Creates a transformation mapping one arbitrary quad into another.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#quadToSquare(com.trolltech.qt.gui.QPolygonF)">quadToSquare</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> quad)</CODE> <BR> Creates a transformation that maps a quad to a unit square.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#readFrom(com.trolltech.qt.core.QDataStream)">readFrom</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> arg__1)</CODE> <BR> Reads a QTransform from arg__1.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#reset()">reset</A></B>()</CODE> <BR> Resets the matrix to an identity matrix, i.e. all elements are set to zero, except <tt>m11</tt> and <tt>m22</tt> (specifying the scale) which are set to 1.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#rotate(double)">rotate</A></B>(double angle)</CODE> <BR> Rotates the transformation around the z-axis.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#rotate(double, com.trolltech.qt.core.Qt.Axis)">rotate</A></B>(double angle, <A HREF="../../../../com/trolltech/qt/core/Qt.Axis.html" title="enum in com.trolltech.qt.core">Qt.Axis</A> axis)</CODE> <BR> Rotates the transformation around the given axis.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#rotateRadians(double)">rotateRadians</A></B>(double angle)</CODE> <BR> Rotates the transformation around the z-axis.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#rotateRadians(double, com.trolltech.qt.core.Qt.Axis)">rotateRadians</A></B>(double angle, <A HREF="../../../../com/trolltech/qt/core/Qt.Axis.html" title="enum in com.trolltech.qt.core">Qt.Axis</A> axis)</CODE> <BR> Rotates the transformation around the given axis.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#scale(double, double)">scale</A></B>(double x, double y)</CODE> <BR> Scales the transformation using x and y.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#setMatrix(double, double, double, double, double, double, double, double, double)">setMatrix</A></B>(double m11, double m12, double m13, double m21, double m22, double m23, double m31, double m32, double m33)</CODE> <BR> Sets the matrix elements to the specified values, <tt>m11</tt>, <tt>m12</tt>, <tt>m13</tt> <tt>m21</tt>, <tt>m22</tt>, <tt>m23</tt> <tt>m31</tt>, <tt>m32</tt> and <tt>m33</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#shear(double, double)">shear</A></B>(double x, double y)</CODE> <BR> Shears the transformation using x and y.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#squareToQuad(com.trolltech.qt.gui.QPolygonF)">squareToQuad</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> quad)</CODE> <BR> Creates a transformation that maps a unit square to a the given quad.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#subtract(double)">subtract</A></B>(double d)</CODE> <BR> Subtracts <tt>d</tt> from this QTransform.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#toAffine()">toAffine</A></B>()</CODE> <BR> Returns the <a href="QTransform.html#QTransform()"><tt>QTransform</tt></a> cast to a <a href="QMatrix.html"><tt>QMatrix</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#translate(double, double)">translate</A></B>(double x, double y)</CODE> <BR> Translates the transformation using x and y.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#transposed()">transposed</A></B>()</CODE> <BR> Returns the transpose of this matrix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTransform.TransformationType.html" title="enum in com.trolltech.qt.gui">QTransform.TransformationType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#type()">type</A></B>()</CODE> <BR> Returns the transformation type of this matrix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTransform.html#writeTo(com.trolltech.qt.core.QDataStream)">writeTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> arg__1)</CODE> <BR> Writes thisQTransform to arg__1.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD> </TR> </TABLE> <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="QTransform(com.trolltech.qt.gui.QMatrix)"><!-- --></A><H3> QTransform</H3> <PRE> public <B>QTransform</B>(<A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A> mtx)</PRE> <DL> <DD><p>Constructs a matrix that is a copy of the given <tt>mtx</tt>. Note that the <tt>m13</tt>, <tt>m23</tt>, and <tt>m33</tt> elements are set to 0, 0, and 1 respectively.</p> <P> </DL> <HR> <A NAME="QTransform(double, double, double, double, double, double, double, double)"><!-- --></A><H3> QTransform</H3> <PRE> public <B>QTransform</B>(double h11, double h12, double h13, double h21, double h22, double h23, double h31, double h32)</PRE> <DL> <DD><p>Equivalent to <a href="QTransform.html#QTransform()"><tt>QTransform</tt></a>(<tt>h11</tt>, <tt>h12</tt>, <tt>h13</tt>, <tt>h21</tt>, <tt>h22</tt>, <tt>h23</tt>, <tt>h31</tt>, <tt>h32</tt>, 1.0). <P> </DL> <HR> <A NAME="QTransform(double, double, double, double, double, double, double, double, double)"><!-- --></A><H3> QTransform</H3> <PRE> public <B>QTransform</B>(double h11, double h12, double h13, double h21, double h22, double h23, double h31, double h32, double h33)</PRE> <DL> <DD><p>Constructs a matrix with the elements, <tt>h11</tt>, <tt>h12</tt>, <tt>h13</tt>, <tt>h21</tt>, <tt>h22</tt>, <tt>h23</tt>, <tt>h31</tt>, <tt>h32</tt>, <tt>h33</tt>.</p> <P> <DL> <DT><B>See Also:</B><DD><a href="QTransform.html#setMatrix(double, double, double, double, double, double, double, double, double)"><tt>setMatrix</tt></a></DL> </DL> <HR> <A NAME="QTransform(double, double, double, double, double, double)"><!-- --></A><H3> QTransform</H3> <PRE> public <B>QTransform</B>(double h11, double h12, double h13, double h21, double h22, double h23)</PRE> <DL> <DD><p>Constructs a matrix with the elements, <tt>h11</tt>, <tt>h12</tt>, <tt>h13</tt>, <tt>h21</tt>, <tt>h22</tt> and <tt>h23</tt>.</p> <P> <DL> <DT><B>See Also:</B><DD><a href="QTransform.html#setMatrix(double, double, double, double, double, double, double, double, double)"><tt>setMatrix</tt></a></DL> </DL> <HR> <A NAME="QTransform()"><!-- --></A><H3> QTransform</H3> <PRE> public <B>QTransform</B>()</PRE> <DL> <DD><p>Constructs an identity matrix.</p> <p>All elements are set to zero except <tt>m11</tt> and <tt>m22</tt> (specifying the scale) and <tt>m13</tt> which are set to 1.</p> <P> <DL> <DT><B>See Also:</B><DD><a href="QTransform.html#reset()"><tt>reset</tt></a></DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="adjoint()"><!-- --></A><H3> adjoint</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>adjoint</B>()</PRE> <DL> <DD><p>Returns the adjoint of this matrix.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="det()"><!-- --></A><H3> det</H3> <PRE> public final double <B>det</B>()</PRE> <DL> <DD><p>Returns the matrix's determinant.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="determinant()"><!-- --></A><H3> determinant</H3> <PRE> public final double <B>determinant</B>()</PRE> <DL> <DD><p>Returns the matrix's determinant.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="dx()"><!-- --></A><H3> dx</H3> <PRE> public final double <B>dx</B>()</PRE> <DL> <DD><p>Returns the horizontal translation factor.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTransform.html#m31()"><tt>m31</tt></a>, <tt>translate</tt>, <CODE>Matrix Operations</tt></CODE></DL> </DD> </DL> <HR> <A NAME="dy()"><!-- --></A><H3> dy</H3> <PRE> public final double <B>dy</B>()</PRE> <DL> <DD><p>Returns the vertical translation factor.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>translate</tt>, <CODE>Matrix Operations</tt></CODE></DL> </DD> </DL> <HR> <A NAME="isAffine()"><!-- --></A><H3> isAffine</H3> <PRE> public final boolean <B>isAffine</B>()</PRE> <DL> <DD><p>Returns true if the matrix represent an affine transformation, otherwise returns false.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="isIdentity()"><!-- --></A><H3> isIdentity</H3> <PRE> public final boolean <B>isIdentity</B>()</PRE> <DL> <DD><p>Returns true if the matrix is the identity matrix, otherwise returns false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTransform.html#reset()"><tt>reset</tt></a></DL> </DD> </DL> <HR> <A NAME="isInvertible()"><!-- --></A><H3> isInvertible</H3> <PRE> public final boolean <B>isInvertible</B>()</PRE> <DL> <DD><p>Returns true if the matrix is invertible, otherwise returns false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>inverted</tt></DL> </DD> </DL> <HR> <A NAME="isRotating()"><!-- --></A><H3> isRotating</H3> <PRE> public final boolean <B>isRotating</B>()</PRE> <DL> <DD><p>Returns true if the matrix represents some kind of a scaling transformation, otherwise returns false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTransform.html#reset()"><tt>reset</tt></a></DL> </DD> </DL> <HR> <A NAME="isScaling()"><!-- --></A><H3> isScaling</H3> <PRE> public final boolean <B>isScaling</B>()</PRE> <DL> <DD><p>Returns true if the matrix represents a scaling transformation, otherwise returns false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTransform.html#reset()"><tt>reset</tt></a></DL> </DD> </DL> <HR> <A NAME="isTranslating()"><!-- --></A><H3> isTranslating</H3> <PRE> public final boolean <B>isTranslating</B>()</PRE> <DL> <DD><p>Returns true if the matrix represents a translating transformation, otherwise returns false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTransform.html#reset()"><tt>reset</tt></a></DL> </DD> </DL> <HR> <A NAME="m11()"><!-- --></A><H3> m11</H3> <PRE> public final double <B>m11</B>()</PRE> <DL> <DD><p>Returns the horizontal scaling factor.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>scale</tt>, <CODE>Matrix Operations</tt></CODE></DL> </DD> </DL> <HR> <A NAME="m12()"><!-- --></A><H3> m12</H3> <PRE> public final double <B>m12</B>()</PRE> <DL> <DD><p>Returns the vertical shearing factor.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>shear</tt>, <CODE>Matrix Operations</tt></CODE></DL> </DD> </DL> <HR> <A NAME="m13()"><!-- --></A><H3> m13</H3> <PRE> public final double <B>m13</B>()</PRE> <DL> <DD><p>Returns the horizontal projection factor.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>translate</tt>, <CODE>Matrix Operations</tt></CODE></DL> </DD> </DL> <HR> <A NAME="m21()"><!-- --></A><H3> m21</H3> <PRE> public final double <B>m21</B>()</PRE> <DL> <DD><p>Returns the horizontal shearing factor.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>shear</tt>, <CODE>Matrix Operations</tt></CODE></DL> </DD> </DL> <HR> <A NAME="m22()"><!-- --></A><H3> m22</H3> <PRE> public final double <B>m22</B>()</PRE> <DL> <DD><p>Returns the vertical scaling factor.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>scale</tt>, <CODE>Matrix Operations</tt></CODE></DL> </DD> </DL> <HR> <A NAME="m23()"><!-- --></A><H3> m23</H3> <PRE> public final double <B>m23</B>()</PRE> <DL> <DD><p>Returns the vertical projection factor.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>translate</tt>, <CODE>Matrix Operations</tt></CODE></DL> </DD> </DL> <HR> <A NAME="m31()"><!-- --></A><H3> m31</H3> <PRE> public final double <B>m31</B>()</PRE> <DL> <DD><p>Returns the horizontal translation factor.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTransform.html#dx()"><tt>dx</tt></a>, <tt>translate</tt>, <CODE>Matrix Operations</tt></CODE></DL> </DD> </DL> <HR> <A NAME="m32()"><!-- --></A><H3> m32</H3> <PRE> public final double <B>m32</B>()</PRE> <DL> <DD><p>Returns the vertical translation factor.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTransform.html#dy()"><tt>dy</tt></a>, <tt>translate</tt>, <CODE>Matrix Operations</tt></CODE></DL> </DD> </DL> <HR> <A NAME="m33()"><!-- --></A><H3> m33</H3> <PRE> public final double <B>m33</B>()</PRE> <DL> <DD><p>Returns the division factor.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>translate</tt>, <CODE>Matrix Operations</tt></CODE></DL> </DD> </DL> <HR> <A NAME="map(com.trolltech.qt.gui.QPolygon)"><!-- --></A><H3> map</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A> <B>map</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A> a)</PRE> <DL> <DD><p>Creates and returns a <a href="QPolygon.html"><tt>QPolygon</tt></a> object that is a copy of the given <tt>a</tt>, mapped into the coordinate system defined by this matrix. Note that the transformed coordinates are rounded to the nearest integer.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="map(com.trolltech.qt.core.QPoint)"><!-- --></A><H3> map</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>map</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> p)</PRE> <DL> <DD><p>Creates and returns a <a href="%2E%2E/core/QPoint.html"><tt>QPoint</tt></a> object that is a copy of the given <tt>p</tt>, mapped into the coordinate system defined by this matrix. Note that the transformed coordinates are rounded to the nearest integer.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="map(com.trolltech.qt.core.QPointF)"><!-- --></A><H3> map</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> <B>map</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> p)</PRE> <DL> <DD><p>Creates and returns a <a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a> object that is a copy of the given point, <tt>p</tt>, mapped into the coordinate system defined by this matrix.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="map(com.trolltech.qt.gui.QPainterPath)"><!-- --></A><H3> map</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A> <B>map</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A> p)</PRE> <DL> <DD><p>Creates and returns a <a href="QPainterPath.html"><tt>QPainterPath</tt></a> object that is a copy of the given <tt>p</tt>, mapped into the coordinate system defined by this matrix.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="map(com.trolltech.qt.gui.QLineF)"><!-- --></A><H3> map</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QLineF.html" title="class in com.trolltech.qt.gui">QLineF</A> <B>map</B>(<A HREF="../../../../com/trolltech/qt/gui/QLineF.html" title="class in com.trolltech.qt.gui">QLineF</A> l)</PRE> <DL> <DD><p>Creates and returns a <a href="QLine.html"><tt>QLine</tt></a> object that is a copy of the given <tt>l</tt>, mapped into the coordinate system defined by this matrix. Note that the transformed coordinates are rounded to the nearest integer.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="map(com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3> map</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>map</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> a)</PRE> <DL> <DD><p>Creates and returns a <a href="QPolygonF.html"><tt>QPolygonF</tt></a> object that is a copy of the given <tt>a</tt>, mapped into the coordinate system defined by this matrix.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="map(com.trolltech.qt.gui.QLine)"><!-- --></A><H3> map</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QLine.html" title="class in com.trolltech.qt.gui">QLine</A> <B>map</B>(<A HREF="../../../../com/trolltech/qt/gui/QLine.html" title="class in com.trolltech.qt.gui">QLine</A> l)</PRE> <DL> <DD><p>Creates and returns a <a href="QLineF.html"><tt>QLineF</tt></a> object that is a copy of the given line, <tt>l</tt>, mapped into the coordinate system defined by this matrix.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="map(com.trolltech.qt.gui.QRegion)"><!-- --></A><H3> map</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> <B>map</B>(<A HREF="../../../../com/trolltech/qt/gui/QRegion.html" title="class in com.trolltech.qt.gui">QRegion</A> r)</PRE> <DL> <DD><p>Creates and returns a <a href="QRegion.html"><tt>QRegion</tt></a> object that is a copy of the given <tt>r</tt>, mapped into the coordinate system defined by this matrix.</p> <p>Calling this method can be rather expensive if rotations or shearing are used.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mapRect(com.trolltech.qt.core.QRectF)"><!-- --></A><H3> mapRect</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> <B>mapRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> arg__1)</PRE> <DL> <DD><p>Creates and returns a <a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a> object that is a copy of the given <tt>arg__1</tt>, mapped into the coordinate system defined by this matrix.</p> <p>The rectangle's coordinates are transformed using the following formulas:</p> <pre> x' = m11*x + m21*y + dx y' = m22*y + m12*x + dy if (is not affine) { w' = m13*x + m23*y + m33 x' /= w' y' /= w' }</pre> <p>If rotation or shearing has been specified, this function returns the <i>bounding</i> rectangle. To retrieve the exact region the given <tt>arg__1</tt> maps to, use the <a href="QTransform.html#mapToPolygon(com.trolltech.qt.core.QRect)"><tt>mapToPolygon</tt></a> function instead.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTransform.html#mapToPolygon(com.trolltech.qt.core.QRect)"><tt>mapToPolygon</tt></a>, <CODE>Matrix Operations</tt></CODE></DL> </DD> </DL> <HR> <A NAME="mapRect(com.trolltech.qt.core.QRect)"><!-- --></A><H3> mapRect</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>mapRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> arg__1)</PRE> <DL> <DD><p>Creates and returns a <a href="%2E%2E/core/QRect.html"><tt>QRect</tt></a> object that is a copy of the given <tt>arg__1</tt>, mapped into the coordinate system defined by this matrix. Note that the transformed coordinates are rounded to the nearest integer.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mapToPolygon(com.trolltech.qt.core.QRect)"><!-- --></A><H3> mapToPolygon</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QPolygon.html" title="class in com.trolltech.qt.gui">QPolygon</A> <B>mapToPolygon</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> r)</PRE> <DL> <DD><p>Creates and returns a <a href="QPolygon.html"><tt>QPolygon</tt></a> representation of the given <tt>r</tt>, mapped into the coordinate system defined by this matrix.</p> <p>The rectangle's coordinates are transformed using the following formulas:</p> <pre> x' = m11*x + m21*y + dx y' = m22*y + m12*x + dy if (is not affine) { w' = m13*x + m23*y + m33 x' /= w' y' /= w' }</pre> <p>Polygons and rectangles behave slightly differently when transformed (due to integer rounding), so <tt>matrix.map(QPolygon(rectangle))</tt> is not always the same as <tt>matrix.mapToPolygon(rectangle)</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTransform.html#mapRect(com.trolltech.qt.core.QRect)"><tt>mapRect</tt></a>, <CODE>Matrix Operations</tt></CODE></DL> </DD> </DL> <HR> <A NAME="writeTo(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3> writeTo</H3> <PRE> public final void <B>writeTo</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> arg__1)</PRE> <DL> <DD>Writes thisQTransform to arg__1. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="readFrom(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3> readFrom</H3> <PRE> public final void <B>readFrom</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> arg__1)</PRE> <DL> <DD>Reads a QTransform from arg__1. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="reset()"><!-- --></A><H3> reset</H3> <PRE> public final void <B>reset</B>()</PRE> <DL> <DD><p>Resets the matrix to an identity matrix, i.e. all elements are set to zero, except <tt>m11</tt> and <tt>m22</tt> (specifying the scale) which are set to 1.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTransform.html#QTransform()"><tt>QTransform</tt></a>, <a href="QTransform.html#isIdentity()"><tt>isIdentity</tt></a>, <CODE>Matrix Operations</tt></CODE></DL> </DD> </DL> <HR> <A NAME="setMatrix(double, double, double, double, double, double, double, double, double)"><!-- --></A><H3> setMatrix</H3> <PRE> public final void <B>setMatrix</B>(double m11, double m12, double m13, double m21, double m22, double m23, double m31, double m32, double m33)</PRE> <DL> <DD><p>Sets the matrix elements to the specified values, <tt>m11</tt>, <tt>m12</tt>, <tt>m13</tt> <tt>m21</tt>, <tt>m22</tt>, <tt>m23</tt> <tt>m31</tt>, <tt>m32</tt> and <tt>m33</tt>. Note that this function replaces the previous values. <a href="QMatrix.html"><tt>QMatrix</tt></a> provides the translate(), rotate(), scale() and shear() convenience functions to manipulate the various matrix elements based on the currently defined coordinate system.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTransform.html#QTransform()"><tt>QTransform</tt></a></DL> </DD> </DL> <HR> <A NAME="toAffine()"><!-- --></A><H3> toAffine</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A> <B>toAffine</B>()</PRE> <DL> <DD><p>Returns the <a href="QTransform.html#QTransform()"><tt>QTransform</tt></a> cast to a <a href="QMatrix.html"><tt>QMatrix</tt></a>.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="transposed()"><!-- --></A><H3> transposed</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>transposed</B>()</PRE> <DL> <DD><p>Returns the transpose of this matrix.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="type()"><!-- --></A><H3> type</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.TransformationType.html" title="enum in com.trolltech.qt.gui">QTransform.TransformationType</A> <B>type</B>()</PRE> <DL> <DD><p>Returns the transformation type of this matrix.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3> fromNativePointer</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</PRE> <DL> <DD>This function returns the QTransform instance pointed to by nativePointer <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL> </DD> </DL> <HR> <A NAME="nativePointerArray(com.trolltech.qt.gui.QTransform[])"><!-- --></A><H3> nativePointerArray</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> <B>nativePointerArray</B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>[] array)</PRE> <DL> <DD>This function returns a QNativePointer that is pointing to the specified QTransform array. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>array</CODE> - the array that the returned pointer will point to. <DT><B>Returns:</B><DD>a QNativePointer that is pointing to the specified array.</DL> </DD> </DL> <HR> <A NAME="equals(java.lang.Object)"><!-- --></A><H3> equals</H3> <PRE> public boolean <B>equals</B>(java.lang.Object other)</PRE> <DL> <DD> <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="multiply(double)"><!-- --></A><H3> multiply</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>multiply</B>(double d)</PRE> <DL> <DD>Multiplies this QTransform with <tt>d</tt>. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="add(double)"><!-- --></A><H3> add</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>add</B>(double d)</PRE> <DL> <DD>Adds <tt>d</tt> to this QTransform. <tt>d</tt> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="divide(double)"><!-- --></A><H3> divide</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>divide</B>(double d)</PRE> <DL> <DD>Divides this QTransform by <tt>d</tt>. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subtract(double)"><!-- --></A><H3> subtract</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>subtract</B>(double d)</PRE> <DL> <DD>Subtracts <tt>d</tt> from this QTransform. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="inverted()"><!-- --></A><H3> inverted</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>inverted</B>()</PRE> <DL> <DD>Returns an inverted copy of this transformation. <P> <DD><DL> <DT><B>Returns:</B><DD>The inverse of the transformation. <DT><B>Throws:</B> <DD><CODE>java.lang.IllegalArgumentException</CODE> - If this transformation is not invertible.</DL> </DD> </DL> <HR> <A NAME="rotate(double, com.trolltech.qt.core.Qt.Axis)"><!-- --></A><H3> rotate</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>rotate</B>(double angle, <A HREF="../../../../com/trolltech/qt/core/Qt.Axis.html" title="enum in com.trolltech.qt.core">Qt.Axis</A> axis)</PRE> <DL> <DD>Rotates the transformation around the given axis. <P> <DD><DL> <DT><B>Returns:</B><DD>The rotated transformation.</DL> </DD> </DL> <HR> <A NAME="rotate(double)"><!-- --></A><H3> rotate</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>rotate</B>(double angle)</PRE> <DL> <DD>Rotates the transformation around the z-axis. <P> <DD><DL> <DT><B>Returns:</B><DD>The rotated transformation.</DL> </DD> </DL> <HR> <A NAME="rotateRadians(double, com.trolltech.qt.core.Qt.Axis)"><!-- --></A><H3> rotateRadians</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>rotateRadians</B>(double angle, <A HREF="../../../../com/trolltech/qt/core/Qt.Axis.html" title="enum in com.trolltech.qt.core">Qt.Axis</A> axis)</PRE> <DL> <DD>Rotates the transformation around the given axis. <P> <DD><DL> <DT><B>Returns:</B><DD>The rotated transformation.</DL> </DD> </DL> <HR> <A NAME="rotateRadians(double)"><!-- --></A><H3> rotateRadians</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>rotateRadians</B>(double angle)</PRE> <DL> <DD>Rotates the transformation around the z-axis. <P> <DD><DL> <DT><B>Returns:</B><DD>The rotated transformation.</DL> </DD> </DL> <HR> <A NAME="scale(double, double)"><!-- --></A><H3> scale</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>scale</B>(double x, double y)</PRE> <DL> <DD>Scales the transformation using x and y. <P> <DD><DL> <DT><B>Returns:</B><DD>The scaled transformation.</DL> </DD> </DL> <HR> <A NAME="shear(double, double)"><!-- --></A><H3> shear</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>shear</B>(double x, double y)</PRE> <DL> <DD>Shears the transformation using x and y. <P> <DD><DL> <DT><B>Returns:</B><DD>The sheared transformation.</DL> </DD> </DL> <HR> <A NAME="translate(double, double)"><!-- --></A><H3> translate</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>translate</B>(double x, double y)</PRE> <DL> <DD>Translates the transformation using x and y. <P> <DD><DL> <DT><B>Returns:</B><DD>The translated transformation.</DL> </DD> </DL> <HR> <A NAME="quadToQuad(com.trolltech.qt.gui.QPolygonF, com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3> quadToQuad</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>quadToQuad</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> from, <A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> to)</PRE> <DL> <DD>Creates a transformation mapping one arbitrary quad into another. <P> <DD><DL> <DT><B>Returns:</B><DD>The transformation. <DT><B>Throws:</B> <DD><CODE>java.lang.IllegalArgumentException</CODE> - If this transformation is not possible.</DL> </DD> </DL> <HR> <A NAME="quadToSquare(com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3> quadToSquare</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>quadToSquare</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> quad)</PRE> <DL> <DD>Creates a transformation that maps a quad to a unit square. <P> <DD><DL> <DT><B>Returns:</B><DD>The transformation. <DT><B>Throws:</B> <DD><CODE>java.lang.IllegalArgumentException</CODE> - If this transformation is not possible.</DL> </DD> </DL> <HR> <A NAME="squareToQuad(com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3> squareToQuad</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>squareToQuad</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> quad)</PRE> <DL> <DD>Creates a transformation that maps a unit square to a the given quad. <P> <DD><DL> <DT><B>Returns:</B><DD>The transformation. <DT><B>Throws:</B> <DD><CODE>java.lang.IllegalArgumentException</CODE> - If this transformation is not possible.</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/gui/QToolTip.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QTransform.TransformationType.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/gui/QTransform.html" target="_top"><B>FRAMES</B></A> <A HREF="QTransform.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>