Obsolete Members for QPainterPath
The following members of class QPainterPath are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(obsolete) void | addRoundRect(const QRectF &r, int xRnd, int yRnd) |
(obsolete) QPainterPath | subtractedInverted(const QPainterPath &p) const |
Member Function Documentation
void QPainterPath::addRoundRect(const QRectF &r, int xRnd, int yRnd)
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Adds a rectangle r with rounded corners to the path.
The xRnd and yRnd arguments specify how rounded the corners should be. 0 is angled corners, 99 is maximum roundedness.
See also addRoundedRect().
QPainterPath QPainterPath::subtractedInverted(const QPainterPath &p) const
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Use subtracted() instead.
This function was introduced in Qt 4.3.
See also subtracted().