Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void QPainterPath::addEllipse ( const QPointF center,
qreal  rx,
qreal  ry 
) [inline]

Since:
4.4
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Creates an ellipse positioned at {center} with radii {rx} and {ry}, and adds it to the painter path as a closed subpath.

Definition at line 310 of file qpainterpath.h.

References addEllipse(), QPointF::x(), and QPointF::y().

{
    addEllipse(QRectF(center.x() - rx, center.y() - ry, 2 * rx, 2 * ry));
}


Generated by  Doxygen 1.6.0   Back to index