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

QRegion QRegion::translated ( const QPoint p  )  const [inline]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Since:
4.1
Returns a copy of the regtion that is translated {p}{.x()} along the x axis and {p}{.y()} along the y axis, relative to the current position. Positive values move the rectangle to the right and down.

See also:
translate()

Definition at line 92 of file qregion.h.

References QPoint::x(), and QPoint::y().

{ return translated(p.x(), p.y()); }


Generated by  Doxygen 1.6.0   Back to index