diff --git a/src/gui/image/qpicture.cpp b/src/gui/image/qpicture.cpp index d2ca2bbd22..1f16318f2e 100644 --- a/src/gui/image/qpicture.cpp +++ b/src/gui/image/qpicture.cpp @@ -358,6 +358,8 @@ void QPicture::setBoundingRect(const QRect &r) This function does exactly the same as QPainter::drawPicture() with (x, y) = (0, 0). + + \note The state of the painter isn't preserved by this function. */ bool QPicture::play(QPainter *painter) diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp index 853de39e73..f965761567 100644 --- a/src/gui/painting/qpainter.cpp +++ b/src/gui/painting/qpainter.cpp @@ -6517,7 +6517,9 @@ void QPainter::drawTiledPixmap(const QRectF &r, const QPixmap &pixmap, const QPo painted on a widget or pixmap can also be stored in a picture. This function does exactly the same as QPicture::play() when - called with \a point = QPoint(0, 0). + called with \a point = QPointF(0, 0). + + \note The state of the painter is preserved by this function. \table 100% \row