4#ifndef QWINDOWSDIRECT2DPLATFORMPIXMAP_H
5#define QWINDOWSDIRECT2DPLATFORMPIXMAP_H
8#include <QtGui/qpa/qplatformpixmap.h>
9#include <QtCore/qscopedpointer.h>
27 void fromImage(
const QImage &image, Qt::ImageConversionFlags flags)
override;
29 int metric(QPaintDevice::PaintDeviceMetric metric)
const override;
30 void fill(
const QColor &color)
override;
45 QScopedPointer<QWindowsDirect2DPlatformPixmapPrivate> d_ptr;
\inmodule QtCore\reentrant
Backing store for windows.
void resize(const QSize &size, const QRegion &staticContents) override
void beginPaint(const QRegion &) override
This function is called before painting onto the surface begins, with the region in which the paintin...
void endPaint() override
This function is called after painting onto the surface has ended.
void flush(QWindow *targetWindow, const QRegion ®ion, const QPoint &offset) override
Flushes the given region from the specified window.
QPaintDevice * paintDevice() override
Implement this function to return the appropriate paint device.
~QWindowsDirect2DBackingStore()
QImage toImage() const override
Implemented in subclasses to return the content of the backingstore as a QImage.
static QWindowsDirect2DPlatformPixmap * platformPixmap(QPixmap *p)
static QWindowsDirect2DWindow * nativeWindow(QWindow *window)
static QWindowsDirect2DBitmap * bitmap(QPixmap *p)