qpainter-obsolete.html 21.7 KB
Newer Older
xuebingbing's avatar
xuebingbing committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qpainter.cpp -->
  <title>Obsolete Members for QPainter | Qt GUI 5.11</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="../qtdoc/index.html">Qt 5.11</a></td><td ><a href="qtgui-index.html">Qt GUI</a></td><td ><a href="qtgui-module.html">C++ Classes</a></td><td >QPainter</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.11.2 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Obsolete Members for QPainter</h1>
<p><b>The following members of class <a href="qpainter.html">QPainter</a> are obsolete.</b> They are provided to keep old source code working. We strongly advise against using them in new code.</p>
<h2>Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>QMatrix </td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#combinedMatrix">combinedMatrix</a></b>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>const QMatrix &amp;</td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#deviceMatrix">deviceMatrix</a></b>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#drawRoundRect">drawRoundRect</a></b>(const QRectF &amp;<i>r</i>, int <i>xRnd</i> = 25, int <i>yRnd</i> = 25)</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#drawRoundRect-1">drawRoundRect</a></b>(int <i>x</i>, int <i>y</i>, int <i>w</i>, int <i>h</i>, <i>int</i> = 25, <i>int</i> = 25)</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#drawRoundRect-2">drawRoundRect</a></b>(const QRect &amp;<i>r</i>, int <i>xRnd</i> = ..., int <i>yRnd</i> = ...)</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#initFrom">initFrom</a></b>(const QPaintDevice *<i>device</i>)</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>const QMatrix &amp;</td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#matrix">matrix</a></b>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>bool </td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#matrixEnabled">matrixEnabled</a></b>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#resetMatrix">resetMatrix</a></b>()</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#setMatrix">setMatrix</a></b>(const QMatrix &amp;<i>matrix</i>, bool <i>combine</i> = false)</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#setMatrixEnabled">setMatrixEnabled</a></b>(bool <i>enable</i>)</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#setWorldMatrix">setWorldMatrix</a></b>(const QMatrix &amp;<i>matrix</i>, bool <i>combine</i> = false)</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>const QMatrix &amp;</td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#worldMatrix">worldMatrix</a></b>() const</td></tr>
</table></div>
<h2>Static Public Members</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>QPaintDevice *</td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#redirected">redirected</a></b>(const QPaintDevice *<i>device</i>, QPoint *<i>offset</i> = nullptr)</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#restoreRedirected">restoreRedirected</a></b>(const QPaintDevice *<i>device</i>)</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qpainter-obsolete.html#setRedirected">setRedirected</a></b>(const QPaintDevice *<i>device</i>, QPaintDevice *<i>replacement</i>, const QPoint &amp;<i>offset</i> = QPoint())</td></tr>
</table></div>
<h2>Member Function Documentation</h2>
<!-- $$$combinedMatrix[overload1]$$$combinedMatrix -->
<h3 class="fn" id="combinedMatrix"><a name="combinedMatrix"></a><span class="type"><a href="qmatrix.html">QMatrix</a></span> QPainter::<span class="name">combinedMatrix</span>() const</h3>
<p>Returns the transformation matrix combining the current window/viewport and world transformation.</p>
<p>It is advisable to use <a href="qpainter.html#combinedTransform">combinedTransform</a>() instead of this function to preserve the properties of perspective transformations.</p>
<p>This function was introduced in  Qt 4.2.</p>
<p><b>See also </b><a href="qpainter.html#setWorldTransform">setWorldTransform</a>(), <a href="qpainter.html#setWindow">setWindow</a>(), and <a href="qpainter.html#setViewport">setViewport</a>().</p>
<!-- @@@combinedMatrix -->
<!-- $$$deviceMatrix[overload1]$$$deviceMatrix -->
<h3 class="fn" id="deviceMatrix"><a name="deviceMatrix"></a>const <span class="type"><a href="qmatrix.html">QMatrix</a></span> &amp;QPainter::<span class="name">deviceMatrix</span>() const</h3>
<p>Returns the matrix that transforms from logical coordinates to device coordinates of the platform dependent paint device.</p>
<p><b>Note: </b>It is advisable to use <a href="qpainter.html#deviceTransform">deviceTransform</a>() instead of this function to preserve the properties of perspective transformations.</p><p>This function is <i>only</i> needed when using platform painting commands on the platform dependent handle (<a href="../qtcore/qt.html#HANDLE-typedef">Qt::HANDLE</a>), and the platform does not do transformations nativly.</p>
<p>The <a href="qpaintengine.html#PaintEngineFeature-enum">QPaintEngine::PaintEngineFeature</a> enum can be queried to determine whether the platform performs the transformations or not.</p>
<p><b>See also </b><a href="qpainter-obsolete.html#worldMatrix">worldMatrix</a>() and <a href="qpaintengine.html#hasFeature">QPaintEngine::hasFeature</a>().</p>
<!-- @@@deviceMatrix -->
<!-- $$$drawRoundRect[overload1]$$$drawRoundRectconstQRectF&intint -->
<h3 class="fn" id="drawRoundRect"><a name="drawRoundRect"></a><span class="type">void</span> QPainter::<span class="name">drawRoundRect</span>(const <span class="type"><a href="../qtcore/qrectf.html">QRectF</a></span> &amp;<i>r</i>, <span class="type">int</span> <i>xRnd</i> = 25, <span class="type">int</span> <i>yRnd</i> = 25)</h3>
<p>Draws a rectangle <i>r</i> with rounded corners.</p>
<p>The <i>xRnd</i> and <i>yRnd</i> arguments specify how rounded the corners should be. 0 is angled corners, 99 is maximum roundedness.</p>
<p>A filled rectangle has a size of r.size(). A stroked rectangle has a size of r.size() plus the pen width.</p>
<p><b>See also </b><a href="qpainter.html#drawRoundedRect">drawRoundedRect</a>().</p>
<!-- @@@drawRoundRect -->
<!-- $$$drawRoundRect$$$drawRoundRectintintintintintint -->
<h3 class="fn" id="drawRoundRect-1"><a name="drawRoundRect-1"></a><span class="type">void</span> QPainter::<span class="name">drawRoundRect</span>(<span class="type">int</span> <i>x</i>, <span class="type">int</span> <i>y</i>, <span class="type">int</span> <i>w</i>, <span class="type">int</span> <i>h</i>, <i>int</i> = 25, <i>int</i> = 25)</h3>
<p>This is an overloaded function.</p>
<p>Draws the rectangle <i>x</i>, <i>y</i>, <i>w</i>, <i>h</i> with rounded corners.</p>
<!-- @@@drawRoundRect -->
<!-- $$$drawRoundRect$$$drawRoundRectconstQRect&intint -->
<h3 class="fn" id="drawRoundRect-2"><a name="drawRoundRect-2"></a><span class="type">void</span> QPainter::<span class="name">drawRoundRect</span>(const <span class="type"><a href="../qtcore/qrect.html">QRect</a></span> &amp;<i>r</i>, <span class="type">int</span> <i>xRnd</i> = ..., <span class="type">int</span> <i>yRnd</i> = ...)</h3>
<p>This is an overloaded function.</p>
<p>Draws the rectangle <i>r</i> with rounded corners.</p>
<!-- @@@drawRoundRect -->
<!-- $$$initFrom[overload1]$$$initFromconstQPaintDevice* -->
<h3 class="fn" id="initFrom"><a name="initFrom"></a><span class="type">void</span> QPainter::<span class="name">initFrom</span>(const <span class="type"><a href="qpaintdevice.html">QPaintDevice</a></span> *<i>device</i>)</h3>
<p>Initializes the painters pen, background and font to the same as the given <i>device</i>.</p>
<p><b>See also </b><a href="qpainter.html#begin">begin</a>() and <a href="qpainter.html#settings">Settings</a>.</p>
<!-- @@@initFrom -->
<!-- $$$matrix[overload1]$$$matrix -->
<h3 class="fn" id="matrix"><a name="matrix"></a>const <span class="type"><a href="qmatrix.html">QMatrix</a></span> &amp;QPainter::<span class="name">matrix</span>() const</h3>
<p>Use <a href="qpainter.html#worldTransform">worldTransform</a>() instead.</p>
<p><b>See also </b><a href="qpainter-obsolete.html#setMatrix">setMatrix</a>() and <a href="qpainter.html#worldTransform">worldTransform</a>().</p>
<!-- @@@matrix -->
<!-- $$$matrixEnabled[overload1]$$$matrixEnabled -->
<h3 class="fn" id="matrixEnabled"><a name="matrixEnabled"></a><span class="type">bool</span> QPainter::<span class="name">matrixEnabled</span>() const</h3>
<p>Use <a href="qpainter.html#worldMatrixEnabled">worldMatrixEnabled</a>() instead</p>
<p><b>See also </b><a href="qpainter-obsolete.html#setMatrixEnabled">setMatrixEnabled</a>() and <a href="qpainter.html#worldMatrixEnabled">worldMatrixEnabled</a>().</p>
<!-- @@@matrixEnabled -->
<!-- $$$redirected[overload1]$$$redirectedconstQPaintDevice*QPoint* -->
<h3 class="fn" id="redirected"><a name="redirected"></a><code>[static] </code><span class="type"><a href="qpaintdevice.html">QPaintDevice</a></span> *QPainter::<span class="name">redirected</span>(const <span class="type"><a href="qpaintdevice.html">QPaintDevice</a></span> *<i>device</i>, <span class="type"><a href="../qtcore/qpoint.html">QPoint</a></span> *<i>offset</i> = nullptr)</h3>
<p>Using <a href="../qtwidgets/qwidget.html#render">QWidget::render</a>() obsoletes the use of this function.</p>
<p>Returns the replacement for given <i>device</i>. The optional out parameter <i>offset</i> returns the offset within the replaced device.</p>
<p><b>Warning:</b> Making use of redirections in the <a href="qpainter.html">QPainter</a> API implies that <a href="qpainter.html#begin">QPainter::begin</a>() and <a href="qpaintdevice.html">QPaintDevice</a> destructors need to hold a mutex for a short period. This can impact performance. Use of <a href="../qtwidgets/qwidget.html#render">QWidget::render</a> is strongly encouraged.</p>
<p><b>Note:</b> This function is <a href="../qtdoc/threads-reentrancy.html">thread-safe</a>.</p>
<p><b>See also </b><a href="qpainter-obsolete.html#setRedirected">setRedirected</a>() and <a href="qpainter-obsolete.html#restoreRedirected">restoreRedirected</a>().</p>
<!-- @@@redirected -->
<!-- $$$resetMatrix[overload1]$$$resetMatrix -->
<h3 class="fn" id="resetMatrix"><a name="resetMatrix"></a><span class="type">void</span> QPainter::<span class="name">resetMatrix</span>()</h3>
<p>Resets any transformations that were made using <a href="qpainter.html#translate">translate</a>(), <a href="qpainter.html#scale">scale</a>(), <a href="qpainter.html#shear">shear</a>(), <a href="qpainter.html#rotate">rotate</a>(), <a href="qpainter-obsolete.html#setWorldMatrix">setWorldMatrix</a>(), <a href="qpainter.html#setViewport">setViewport</a>() and <a href="qpainter.html#setWindow">setWindow</a>().</p>
<p>It is advisable to use <a href="qpainter.html#resetTransform">resetTransform</a>() instead of this function to preserve the properties of perspective transformations.</p>
<p><b>See also </b><a href="qpainter.html#coordinate-transformations">Coordinate Transformations</a>.</p>
<!-- @@@resetMatrix -->
<!-- $$$restoreRedirected[overload1]$$$restoreRedirectedconstQPaintDevice* -->
<h3 class="fn" id="restoreRedirected"><a name="restoreRedirected"></a><code>[static] </code><span class="type">void</span> QPainter::<span class="name">restoreRedirected</span>(const <span class="type"><a href="qpaintdevice.html">QPaintDevice</a></span> *<i>device</i>)</h3>
<p>Using <a href="../qtwidgets/qwidget.html#render">QWidget::render</a>() obsoletes the use of this function.</p>
<p>Restores the previous redirection for the given <i>device</i> after a call to <a href="qpainter-obsolete.html#setRedirected">setRedirected</a>().</p>
<p><b>Warning:</b> Making use of redirections in the <a href="qpainter.html">QPainter</a> API implies that <a href="qpainter.html#begin">QPainter::begin</a>() and <a href="qpaintdevice.html">QPaintDevice</a> destructors need to hold a mutex for a short period. This can impact performance. Use of <a href="../qtwidgets/qwidget.html#render">QWidget::render</a> is strongly encouraged.</p>
<p><b>Note:</b> This function is <a href="../qtdoc/threads-reentrancy.html">thread-safe</a>.</p>
<p><b>See also </b><a href="qpainter-obsolete.html#redirected">redirected</a>().</p>
<!-- @@@restoreRedirected -->
<!-- $$$setMatrix[overload1]$$$setMatrixconstQMatrix&bool -->
<h3 class="fn" id="setMatrix"><a name="setMatrix"></a><span class="type">void</span> QPainter::<span class="name">setMatrix</span>(const <span class="type"><a href="qmatrix.html">QMatrix</a></span> &amp;<i>matrix</i>, <span class="type">bool</span> <i>combine</i> = false)</h3>
<p>Use <a href="qpainter.html#setWorldTransform">setWorldTransform</a>() instead.</p>
<p><b>See also </b><a href="qpainter-obsolete.html#matrix">matrix</a>() and <a href="qpainter.html#setWorldTransform">setWorldTransform</a>().</p>
<!-- @@@setMatrix -->
<!-- $$$setMatrixEnabled[overload1]$$$setMatrixEnabledbool -->
<h3 class="fn" id="setMatrixEnabled"><a name="setMatrixEnabled"></a><span class="type">void</span> QPainter::<span class="name">setMatrixEnabled</span>(<span class="type">bool</span> <i>enable</i>)</h3>
<p>Use <a href="qpainter.html#setWorldMatrixEnabled">setWorldMatrixEnabled</a>() instead.</p>
<p><b>See also </b><a href="qpainter-obsolete.html#matrixEnabled">matrixEnabled</a>() and <a href="qpainter.html#setWorldMatrixEnabled">setWorldMatrixEnabled</a>().</p>
<!-- @@@setMatrixEnabled -->
<!-- $$$setRedirected[overload1]$$$setRedirectedconstQPaintDevice*QPaintDevice*constQPoint& -->
<h3 class="fn" id="setRedirected"><a name="setRedirected"></a><code>[static] </code><span class="type">void</span> QPainter::<span class="name">setRedirected</span>(const <span class="type"><a href="qpaintdevice.html">QPaintDevice</a></span> *<i>device</i>, <span class="type"><a href="qpaintdevice.html">QPaintDevice</a></span> *<i>replacement</i>, const <span class="type"><a href="../qtcore/qpoint.html">QPoint</a></span> &amp;<i>offset</i> = QPoint())</h3>
<p>Please use <a href="../qtwidgets/qwidget.html#render">QWidget::render</a>() instead.</p>
<p>Redirects all paint commands for the given paint <i>device</i>, to the <i>replacement</i> device. The optional point <i>offset</i> defines an offset within the source device.</p>
<p>The redirection will not be effective until the <a href="qpainter.html#begin">begin</a>() function has been called; make sure to call <a href="qpainter.html#end">end</a>() for the given <i>device</i>'s painter (if any) before redirecting. Call <a href="qpainter-obsolete.html#restoreRedirected">restoreRedirected</a>() to restore the previous redirection.</p>
<p><b>Warning:</b> Making use of redirections in the <a href="qpainter.html">QPainter</a> API implies that <a href="qpainter.html#begin">QPainter::begin</a>() and <a href="qpaintdevice.html">QPaintDevice</a> destructors need to hold a mutex for a short period. This can impact performance. Use of <a href="../qtwidgets/qwidget.html#render">QWidget::render</a> is strongly encouraged.</p>
<p><b>Note:</b> This function is <a href="../qtdoc/threads-reentrancy.html">thread-safe</a>.</p>
<p><b>See also </b><a href="qpainter-obsolete.html#redirected">redirected</a>() and <a href="qpainter-obsolete.html#restoreRedirected">restoreRedirected</a>().</p>
<!-- @@@setRedirected -->
<!-- $$$setWorldMatrix[overload1]$$$setWorldMatrixconstQMatrix&bool -->
<h3 class="fn" id="setWorldMatrix"><a name="setWorldMatrix"></a><span class="type">void</span> QPainter::<span class="name">setWorldMatrix</span>(const <span class="type"><a href="qmatrix.html">QMatrix</a></span> &amp;<i>matrix</i>, <span class="type">bool</span> <i>combine</i> = false)</h3>
<p>Sets the transformation matrix to <i>matrix</i> and enables transformations.</p>
<p><b>Note: </b>It is advisable to use <a href="qpainter.html#setWorldTransform">setWorldTransform</a>() instead of this function to preserve the properties of perspective transformations.</p><p>If <i>combine</i> is true, then <i>matrix</i> is combined with the current transformation matrix; otherwise <i>matrix</i> replaces the current transformation matrix.</p>
<p>If <i>matrix</i> is the identity matrix and <i>combine</i> is false, this function calls <a href="qpainter.html#setWorldMatrixEnabled">setWorldMatrixEnabled</a>(false). (The identity matrix is the matrix where <a href="qmatrix.html#m11">QMatrix::m11</a>() and <a href="qmatrix.html#m22">QMatrix::m22</a>() are 1.0 and the rest are 0.0&#x2e;)</p>
<p>The following functions can transform the coordinate system without using a <a href="qmatrix.html">QMatrix</a>:</p>
<ul>
<li><a href="qpainter.html#translate">translate</a>()</li>
<li><a href="qpainter.html#scale">scale</a>()</li>
<li><a href="qpainter.html#shear">shear</a>()</li>
<li><a href="qpainter.html#rotate">rotate</a>()</li>
</ul>
<p>They operate on the painter's <a href="qpainter-obsolete.html#worldMatrix">worldMatrix</a>() and are implemented like this:</p>
<pre class="cpp">

  <span class="type">void</span> <span class="type"><a href="qpainter.html#QPainter">QPainter</a></span><span class="operator">::</span>rotate(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> angle)
  {
      <span class="type"><a href="qmatrix.html">QMatrix</a></span> matrix;
      matrix<span class="operator">.</span>rotate(angle);
      setWorldMatrix(matrix<span class="operator">,</span> <span class="keyword">true</span>);
  }

</pre>
<p>Note that when using setWorldMatrix() function you should always have <i>combine</i> be true when you are drawing into a <a href="qpicture.html">QPicture</a>. Otherwise it may not be possible to replay the picture with additional transformations; using the <a href="qpainter.html#translate">translate</a>(), <a href="qpainter.html#scale">scale</a>(), etc. convenience functions is safe.</p>
<p>For more information about the coordinate system, transformations and window-viewport conversion, see <a href="coordsys.html">Coordinate System</a>.</p>
<p>This function was introduced in  Qt 4.2.</p>
<p><b>See also </b><a href="qpainter-obsolete.html#worldMatrix">worldMatrix</a>(), <a href="qpainter.html#setWorldTransform">setWorldTransform</a>(), and <a href="qtransform.html">QTransform</a>.</p>
<!-- @@@setWorldMatrix -->
<!-- $$$worldMatrix[overload1]$$$worldMatrix -->
<h3 class="fn" id="worldMatrix"><a name="worldMatrix"></a>const <span class="type"><a href="qmatrix.html">QMatrix</a></span> &amp;QPainter::<span class="name">worldMatrix</span>() const</h3>
<p>Returns the world transformation matrix.</p>
<p>It is advisable to use <a href="qpainter.html#worldTransform">worldTransform</a>() because worldMatrix() does not preserve the properties of perspective transformations.</p>
<p>This function was introduced in  Qt 4.2.</p>
<p><b>See also </b><a href="qpainter-obsolete.html#setWorldMatrix">setWorldMatrix</a>(), <a href="qpainter.html#coordinate-transformations">Coordinate Transformations</a>, and <a href="coordsys.html">Coordinate System</a>.</p>
<!-- @@@worldMatrix -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2018 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>