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

QRectF::QRectF ( const QPointF topLeft,
const QSizeF size 
) [inline]

Constructs a rectangle with the given topLeft corner and the given size.

See also:
setTopLeft(), setSize()

Definition at line 635 of file qrect.h.

References QSizeF::height(), QSizeF::width(), QPointF::x(), and QPointF::y().

    xp = atopLeft.x();
    yp = atopLeft.y();
    w = asize.width();
    h = asize.height();

Generated by  Doxygen 1.6.0   Back to index