7#include <qpa/qplatformbackingstore.h>
9typedef struct _XDisplay Display;
22 void flush(QWindow *window,
const QRegion ®ion,
const QPoint &offset)
override;
26 void resize(
const QSize &size,
const QRegion &staticContents)
override;
27 bool scroll(
const QRegion &area,
int dx,
int dy)
override;
29 void beginPaint(
const QRegion ®ion)
override;
32 Display *display()
const;
35 bool m_translucentBackground;
void beginPaint(const QRegion ®ion) override
This function is called before painting onto the surface begins, with the region in which the paintin...
QXcbNativeBackingStore(QWindow *window)
void flush(QWindow *window, const QRegion ®ion, const QPoint &offset) override
Flushes the given region from the specified window.
QImage toImage() const override
Implemented in subclasses to return the content of the backingstore as a QImage.
~QXcbNativeBackingStore()
QPaintDevice * paintDevice() override
Implement this function to return the appropriate paint device.
void resize(const QSize &size, const QRegion &staticContents) override
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.