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

void QRectF::getCoords ( qreal *  x1,
qreal *  y1,
qreal *  x2,
qreal *  y2 
) const [inline]

Extracts the position of the rectangle's top-left corner to *x1 and *y1, and the position of the bottom-right corner to *x2 and y2.

See also:
setCoords(), getRect()

Definition at line 763 of file qrect.h.

    *xp1 = xp;
    *yp1 = yp;
    *xp2 = xp + w;
    *yp2 = yp + h;

Generated by  Doxygen 1.6.0   Back to index