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

void QPainterPath::addRect ( 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. Adds a rectangle at position ({x}, {y}), with the given width and height, as a closed subpath.

Definition at line 315 of file qpainterpath.h.

References addRect().

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


Generated by  Doxygen 1.6.0   Back to index