42 #ifndef QGRAPHICSSYSTEM_RUNTIME_P_H 43 #define QGRAPHICSSYSTEM_RUNTIME_P_H 58 #include <private/qpixmapdata_p.h> 70 virtual void resize(
int width,
int height);
72 Qt::ImageConversionFlags flags);
75 Qt::ImageConversionFlags flags);
77 Qt::ImageConversionFlags flags);
80 virtual bool scroll(
int dx,
int dy,
const QRect &rect);
100 #if defined(Q_OS_SYMBIAN) 101 void* toNativeType(NativeType type);
102 void fromNativeType(
void* pixmap, NativeType type);
120 virtual void setGeometry(
const QRect &rect);
122 virtual bool scroll(
const QRegion &
area,
int dx,
int dy);
124 virtual void beginPaint(
const QRegion &);
125 virtual void endPaint(
const QRegion &);
132 virtual WindowSurfaceFeatures features()
const;
148 DestroyAfterFirstFlush
165 m_windowSurfaceDestroyPolicy = policy;
virtual QPixmapData * createCompatiblePixmapData() const
The QColor class provides colors based on RGB, HSV or CMYK values.
void setWindowSurfaceDestroyPolicy(WindowSurfaceDestroyPolicy policy)
virtual bool fromFile(const QString &filename, const char *format, Qt::ImageConversionFlags flags)
virtual QPixmap transformed(const QTransform &matrix, Qt::TransformationMode mode) const
QScopedPointer< QWindowSurface > m_pendingWindowSurface
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
const QRuntimeGraphicsSystem * m_graphicsSystem
virtual QPixmapData * runtimeData() const
virtual void fill(const QColor &color)=0
const QRuntimeGraphicsSystem * m_graphicsSystem
QList< QRuntimeWindowSurface * > m_windowSurfaces
virtual void resize(int width, int height)=0
virtual QPaintEngine * paintEngine() const =0
The QString class provides a Unicode character string.
virtual QBitmap mask() const
virtual bool fromData(const uchar *buffer, uint len, const char *format, Qt::ImageConversionFlags flags)
QString graphicsSystemName() const
virtual QPixmap alphaChannel() const
WindowSurfaceDestroyPolicy
The QBitmap class provides monochrome (1-bit depth) pixmaps.
virtual QImage toImage() const =0
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual void fromImage(const QImage &image, Qt::ImageConversionFlags flags)=0
The QImage class provides a hardware-independent image representation that allows direct access to th...
static const char * data(const QByteArray &arr)
virtual int metric(QPaintDevice::PaintDeviceMetric metric) const =0
The QRegion class specifies a clip region for a painter.
The QPaintEngine class provides an abstract definition of how QPainter draws to a given device on a g...
The QWindowSurface class provides the drawing area for top-level windows.
virtual bool hasAlphaChannel() const =0
QGraphicsSystem * m_graphicsSystem
QList< QRuntimePixmapData * > m_pixmapDatas
QString m_graphicsSystemName
The QPoint class defines a point in the plane using integer precision.
int windowSurfaceDestroyPolicy() const
virtual void copy(const QPixmapData *data, const QRect &rect)
The QRect class defines a rectangle in the plane using integer precision.
virtual void setMask(const QBitmap &mask)
The QPixmap class is an off-screen image representation that can be used as a paint device...
virtual QImage * buffer()
Q_CORE_EXPORT QTextStream & flush(QTextStream &s)
virtual void setAlphaChannel(const QPixmap &alphaChannel)
QString m_pendingGraphicsSystemName
QScopedPointer< QWindowSurface > m_windowSurface
int m_windowSurfaceDestroyPolicy
virtual bool scroll(int dx, int dy, const QRect &rect)
The QList class is a template class that provides lists.
static int area(const QSize &s)