Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qbackingstore.cpp File Reference

(7dbf070dd1a15ea99b3d5d2e528c9d4c75eafff6)

#include <qbackingstore.h>
#include <qwindow.h>
#include <qpixmap.h>
#include <qpa/qplatformbackingstore.h>
#include <qpa/qplatformintegration.h>
#include <qscreen.h>
#include <qdebug.h>
#include <qscopedpointer.h>
#include <private/qguiapplication_p.h>
#include <private/qwindow_p.h>
#include <private/qhighdpiscaling_p.h>
+ Include dependency graph for qbackingstore.cpp:

Go to the source code of this file.

Classes

class  QBackingStorePrivate
 

Functions

void Q_GUI_EXPORT qt_scrollRectInImage (QImage &img, const QRect &rect, const QPoint &offset)
 

Function Documentation

◆ qt_scrollRectInImage()

void Q_GUI_EXPORT qt_scrollRectInImage ( QImage & img,
const QRect & rect,
const QPoint & offset )

Definition at line 300 of file qbackingstore.cpp.

References QRect::bottom(), QRect::height(), QRect::intersected(), QRect::isEmpty(), QRect::left(), Q_ASSERT_X, qAbs(), rect, QRect::top(), QRect::translated(), and QRect::width().

Referenced by QXcbBackingStoreImage::scroll(), QRasterBackingStore::scroll(), QOffscreenBackingStore::scroll(), QWindowsBackingStore::scroll(), QCALayerBackingStore::scroll(), and QRasterPlatformPixmap::scroll().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: