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
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qpainterpath.cpp -->
<title>Qt 4.8: Obsolete Members for QPainterPath</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="content">
<a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
</div>
<div class="breadcrumb toolblock">
<ul>
<li class="first"><a href="index.html">Home</a></li>
<!-- Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtgui.html">QtGui</a></li>
<li>QPainterPath</li>
</ul>
</div>
</div>
<div class="content mainContent">
<h1 class="title">Obsolete Members for QPainterPath</h1>
<p><b>The following class members are obsolete.</b> They are provided to keep old source code working. We strongly advise against using them in new code.</p>
<p><ul><li><a href="qpainterpath.html">QPainterPath class reference</a></li></ul></p>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpainterpath-obsolete.html#addRoundRect">addRoundRect</a></b> ( const QRectF & <i>r</i>, int <i>xRnd</i>, int <i>yRnd</i> )<tt> (obsolete)</tt></td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpainterpath-obsolete.html#addRoundRect-2">addRoundRect</a></b> ( const QRectF & <i>rect</i>, int <i>roundness</i> )<tt> (obsolete)</tt></td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpainterpath-obsolete.html#addRoundRect-3">addRoundRect</a></b> ( qreal <i>x</i>, qreal <i>y</i>, qreal <i>w</i>, qreal <i>h</i>, int <i>xRnd</i>, int <i>yRnd</i> )<tt> (obsolete)</tt></td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpainterpath-obsolete.html#addRoundRect-4">addRoundRect</a></b> ( qreal <i>x</i>, qreal <i>y</i>, qreal <i>width</i>, qreal <i>height</i>, int <i>roundness</i> )<tt> (obsolete)</tt></td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> QPainterPath </td><td class="memItemRight bottomAlign"><b><a href="qpainterpath-obsolete.html#subtractedInverted">subtractedInverted</a></b> ( const QPainterPath & <i>p</i> ) const<tt> (obsolete)</tt></td></tr>
</table>
<h2>Member Function Documentation</h2>
<!-- $$$addRoundRect[overload1]$$$addRoundRectconstQRectF&intint -->
<h3 class="fn"><a name="addRoundRect"></a><span class="type">void</span> QPainterPath::<span class="name">addRoundRect</span> ( const <span class="type"><a href="qrectf.html">QRectF</a></span> & <i>r</i>, <span class="type">int</span> <i>xRnd</i>, <span class="type">int</span> <i>yRnd</i> )</h3>
<p>Adds a rectangle <i>r</i> with rounded corners to the path.</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><b>See also </b><a href="qpainterpath.html#addRoundedRect">addRoundedRect</a>().</p>
<!-- @@@addRoundRect -->
<!-- $$$addRoundRect$$$addRoundRectconstQRectF&int -->
<h3 class="fn"><a name="addRoundRect-2"></a><span class="type">void</span> QPainterPath::<span class="name">addRoundRect</span> ( const <span class="type"><a href="qrectf.html">QRectF</a></span> & <i>rect</i>, <span class="type">int</span> <i>roundness</i> )</h3>
<p>This is an overloaded function.</p>
<p>Adds a rounded rectangle, <i>rect</i>, to the path.</p>
<p>The <i>roundness</i> argument specifies uniform roundness for the rectangle. Vertical and horizontal roundness factors will be adjusted accordingly to act uniformly around both axes. Use this method if you want a rectangle equally rounded across both the X and Y axis.</p>
<p>This function was introduced in Qt 4.3.</p>
<p><b>See also </b><a href="qpainterpath.html#addRoundedRect">addRoundedRect</a>().</p>
<!-- @@@addRoundRect -->
<!-- $$$addRoundRect$$$addRoundRectqrealqrealqrealqrealintint -->
<h3 class="fn"><a name="addRoundRect-3"></a><span class="type">void</span> QPainterPath::<span class="name">addRoundRect</span> ( <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>x</i>, <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>y</i>, <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>w</i>, <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>h</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>Adds a rectangle with rounded corners to the path. The rectangle is constructed from <i>x</i>, <i>y</i>, and the width and height <i>w</i> and <i>h</i>.</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><b>See also </b><a href="qpainterpath.html#addRoundedRect">addRoundedRect</a>().</p>
<!-- @@@addRoundRect -->
<!-- $$$addRoundRect$$$addRoundRectqrealqrealqrealqrealint -->
<h3 class="fn"><a name="addRoundRect-4"></a><span class="type">void</span> QPainterPath::<span class="name">addRoundRect</span> ( <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>x</i>, <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>y</i>, <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>width</i>, <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>height</i>, <span class="type">int</span> <i>roundness</i> )</h3>
<p>This is an overloaded function.</p>
<p>Adds a rounded rectangle to the path, defined by the coordinates <i>x</i> and <i>y</i> with the specified <i>width</i> and <i>height</i>.</p>
<p>The <i>roundness</i> argument specifies uniform roundness for the rectangle. Vertical and horizontal roundness factors will be adjusted accordingly to act uniformly around both axes. Use this method if you want a rectangle equally rounded across both the X and Y axis.</p>
<p>This function was introduced in Qt 4.3.</p>
<p><b>See also </b><a href="qpainterpath.html#addRoundedRect">addRoundedRect</a>().</p>
<!-- @@@addRoundRect -->
<!-- $$$subtractedInverted[overload1]$$$subtractedInvertedconstQPainterPath& -->
<h3 class="fn"><a name="subtractedInverted"></a><span class="type">QPainterPath</span> QPainterPath::<span class="name">subtractedInverted</span> ( const <span class="type">QPainterPath</span> & <i>p</i> ) const</h3>
<p>Use <a href="qpainterpath.html#subtracted">subtracted</a>() instead.</p>
<p>This function was introduced in Qt 4.3.</p>
<p><b>See also </b><a href="qpainterpath.html#subtracted">subtracted</a>().</p>
<!-- @@@subtractedInverted -->
<div class="ft">
<span></span>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2012 Nokia Corporation and/or its
subsidiaries. Documentation contributions included herein are the copyrights of
their respective owners.</p>
<br />
<p>
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.</p>
<p>
Documentation sources may be obtained from <a href="http://www.qt-project.org">
www.qt-project.org</a>.</p>
<br />
<p>
Nokia, Qt and their respective logos are trademarks of Nokia Corporation
in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. <a title="Privacy Policy"
href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
</div>
</body>
</html>
|