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

void QLineF::translate ( const QPointF offset  )  [inline]

Translates this line by the given offset.

Definition at line 341 of file qline.h.

Referenced by QPainter::drawLines(), Arrow::paint(), QGraphicsItem::scroll(), and translate().

{
    pt1 += point;
    pt2 += point;
}


Generated by  Doxygen 1.6.0   Back to index