<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- qpainterpath.cpp --> <head> <title>Qt 4.6: Obsolete Members for QPainterPath</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td> <td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="functions.html"><font color="#004faf">All Functions</font></a> · <a href="overviews.html"><font color="#004faf">Overviews</font></a></td></tr></table><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" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><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" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><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" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><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" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><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" align="right" valign="top">QPainterPath </td><td class="memItemRight" valign="bottom"><b><a href="qpainterpath-obsolete.html#subtractedInverted">subtractedInverted</a></b> ( const QPainterPath & <i>p</i> ) const <tt> (obsolete)</tt></td></tr> </table> <hr /> <h2>Member Function Documentation</h2> <a name="//apple_ref/cpp/instm/QPainterPath/addRoundRect"></a> <h3 class="fn"><a name="addRoundRect"></a>void QPainterPath::addRoundRect ( const <a href="qrectf.html">QRectF</a> & <i>r</i>, int <i>xRnd</i>, int <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>See also <a href="qpainterpath.html#addRoundedRect">addRoundedRect</a>().</p> <h3 class="fn"><a name="addRoundRect-2"></a>void QPainterPath::addRoundRect ( const <a href="qrectf.html">QRectF</a> & <i>rect</i>, int <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>See also <a href="qpainterpath.html#addRoundedRect">addRoundedRect</a>().</p> <h3 class="fn"><a name="addRoundRect-3"></a>void QPainterPath::addRoundRect ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>x</i>, <a href="qtglobal.html#qreal-typedef">qreal</a> <i>y</i>, <a href="qtglobal.html#qreal-typedef">qreal</a> <i>w</i>, <a href="qtglobal.html#qreal-typedef">qreal</a> <i>h</i>, int <i>xRnd</i>, int <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>See also <a href="qpainterpath.html#addRoundedRect">addRoundedRect</a>().</p> <h3 class="fn"><a name="addRoundRect-4"></a>void QPainterPath::addRoundRect ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>x</i>, <a href="qtglobal.html#qreal-typedef">qreal</a> <i>y</i>, <a href="qtglobal.html#qreal-typedef">qreal</a> <i>width</i>, <a href="qtglobal.html#qreal-typedef">qreal</a> <i>height</i>, int <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>See also <a href="qpainterpath.html#addRoundedRect">addRoundedRect</a>().</p> <a name="//apple_ref/cpp/instm/QPainterPath/subtractedInverted"></a> <h3 class="fn"><a name="subtractedInverted"></a>QPainterPath QPainterPath::subtractedInverted ( const QPainterPath & <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>See also <a href="qpainterpath.html#subtracted">subtracted</a>().</p> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td width="40%" align="left">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)</td> <td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td> <td width="40%" align="right"><div align="right">Qt 4.6.3</div></td> </tr></table></div></address></body> </html>