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

void QPainterPath::addEllipse ( qreal  x,
qreal  y,
qreal  width,
qreal  height 
) [inline]

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 within the bounding rectangle defined by its top-left corner at (x, y), width and height, and adds it to the painter path as a closed subpath.

Definition at line 293 of file qpainterpath.h.

References addEllipse().

{
    addEllipse(QRectF(x, y, w, h));
}


Generated by  Doxygen 1.6.0   Back to index