4#ifndef QWINDOWSBACKINGSTORE_H
5#define QWINDOWSBACKINGSTORE_H
7#include <QtCore/qt_windows.h>
9#include <qpa/qplatformbackingstore.h>
10#include <QtCore/qscopedpointer.h>
15class QWindowsNativeImage;
25 void flush(QWindow *window,
const QRegion ®ion,
const QPoint &offset)
override;
26 void resize(
const QSize &size,
const QRegion &r)
override;
27 bool scroll(
const QRegion &area,
int dx,
int dy)
override;
35 QScopedPointer<QWindowsNativeImage> m_image;
36 bool m_alphaNeedsFill;
\inmodule QtCore\reentrant
Backing store for windows.
void beginPaint(const QRegion &) override
This function is called before painting onto the surface begins, with the region in which the paintin...
~QWindowsBackingStore() override
QPaintDevice * paintDevice() override
Implement this function to return the appropriate paint device.
bool scroll(const QRegion &area, int dx, int dy) override
Scrolls the given area dx pixels to the right and dy downward; both dx and dy may be negative.
void flush(QWindow *window, const QRegion ®ion, const QPoint &offset) override
Flushes the given region from the specified window.
void resize(const QSize &size, const QRegion &r) override
QImage toImage() const override
Implemented in subclasses to return the content of the backingstore as a QImage.
Singleton container for all relevant information.
Combined button and popup list for selecting options.
Q_GUI_EXPORT void qt_scrollRectInImage(QImage &img, const QRect &rect, const QPoint &offset)