6#include <QtGui/private/qpaintdevicewindow_p.h>
8#include <QtGui/QBackingStore>
9#include <QtGui/QPainter>
83 d->backingstore.reset(
nullptr);
95 return d->backingstore->paintDevice()->depth();
108 return d->backingstore->paintDevice();
117#include "moc_qrasterwindow.cpp"
The QBackingStore class provides a drawing area for QWindow.
void beginPaint(const QRegion &)
Begins painting on the backing store surface in the given region.
void flush(const QRegion ®ion, QWindow *window=nullptr, const QPoint &offset=QPoint())
Flushes the given region from the specified window onto the screen.
void resize(const QSize &size)
Sets the size of the window surface to size.
QSize size() const
Returns the current size of the window surface.
void endPaint()
Ends painting.
int metric(PaintDeviceMetric metric) const override
\inmodule QtCore\reentrant
QScopedPointer< QBackingStore > backingstore
void handleResizeEvent() override
void flush(const QRegion ®ion) override
void beginPaint(const QRegion ®ion) override
void resizeEvent(QResizeEvent *event) override
Override this to handle resize events (ev).
QRasterWindow(QWindow *parent=nullptr)
Constructs a new QRasterWindow with parent.
int metric(PaintDeviceMetric metric) const override
QPaintDevice * redirected(QPoint *) const override
The QRegion class specifies a clip region for a painter.
The QResizeEvent class contains event parameters for resize events.
Combined button and popup list for selecting options.
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLdouble GLdouble GLdouble GLdouble q