Qt 4.8
|
#include <qpixmap_blitter_p.h>
Public Functions | |
QBlittable * | blittable () const |
QImage * | buffer () |
virtual QBlittable * | createBlittable (const QSize &size, bool alpha) const =0 |
void | fill (const QColor &color) |
void | fromImage (const QImage &image, Qt::ImageConversionFlags flags) |
bool | hasAlphaChannel () const |
void | markRasterOverlay (const QRectF &) |
void | markRasterOverlay (const QPointF &, const QTextItem &) |
void | markRasterOverlay (const QVectorPath &) |
void | markRasterOverlay (const QPainterPath &) |
void | markRasterOverlay (const QRect *rects, int rectCount) |
void | markRasterOverlay (const QRectF *rects, int rectCount) |
void | markRasterOverlay (const QPointF *points, int pointCount) |
void | markRasterOverlay (const QPoint *points, int pointCount) |
int | metric (QPaintDevice::PaintDeviceMetric metric) const |
QPaintEngine * | paintEngine () const |
QBlittablePixmapData () | |
void | resize (int width, int height) |
void | setBlittable (QBlittable *blittable) |
QImage | toImage () const |
void | unmarkRasterOverlay (const QRectF &) |
~QBlittablePixmapData () | |
Public Functions inherited from QPixmapData | |
virtual QPixmap | alphaChannel () const |
qint64 | cacheKey () const |
ClassId | classId () const |
int | colorCount () const |
virtual void | copy (const QPixmapData *data, const QRect &rect) |
virtual QPixmapData * | createCompatiblePixmapData () const |
int | depth () const |
virtual bool | fromData (const uchar *buffer, uint len, const char *format, Qt::ImageConversionFlags flags) |
virtual bool | fromFile (const QString &filename, const char *format, Qt::ImageConversionFlags flags) |
virtual void | fromImageReader (QImageReader *imageReader, Qt::ImageConversionFlags flags) |
int | height () const |
bool | isNull () const |
virtual QBitmap | mask () const |
QT_DEPRECATED int | numColors () const |
PixelType | pixelType () const |
QPixmapData (PixelType pixelType, int classId) | |
virtual QPixmapData * | runtimeData () const |
virtual bool | scroll (int dx, int dy, const QRect &rect) |
int | serialNumber () const |
virtual void | setAlphaChannel (const QPixmap &alphaChannel) |
virtual void | setMask (const QBitmap &mask) |
virtual QImage | toImage (const QRect &rect) const |
virtual QPixmap | transformed (const QTransform &matrix, Qt::TransformationMode mode) const |
int | width () const |
virtual | ~QPixmapData () |
Protected Variables | |
bool | m_alpha |
QScopedPointer< QBlittable > | m_blittable |
QScopedPointer< QBlitterPaintEngine > | m_engine |
Protected Variables inherited from QPixmapData | |
int | d |
int | h |
bool | is_null |
int | w |
Additional Inherited Members | |
Public Types inherited from QPixmapData | |
enum | ClassId { RasterClass, X11Class, MacClass, DirectFBClass, OpenGLClass, OpenVGClass, RuntimeClass, BlitterClass, CustomClass = 1024 } |
enum | PixelType { PixmapType, BitmapType } |
Static Public Functions inherited from QPixmapData | |
static QPixmapData * | create (int w, int h, PixelType type) |
Protected Functions inherited from QPixmapData | |
void | setSerialNumber (int serNo) |
Definition at line 51 of file qpixmap_blitter_p.h.
QBlittablePixmapData::QBlittablePixmapData | ( | ) |
Definition at line 59 of file qpixmap_blitter.cpp.
QBlittablePixmapData::~QBlittablePixmapData | ( | ) |
Definition at line 69 of file qpixmap_blitter.cpp.
QBlittable * QBlittablePixmapData::blittable | ( | ) | const |
Definition at line 77 of file qpixmap_blitter.cpp.
Referenced by buffer(), QDirectFbConvenience::dfbSurfaceForPlatformPixmap(), QDirectFbBlitter::drawPixmapOpacity(), fill(), QDirectFbWindowSurface::flush(), hasAlphaChannel(), QDirectFbWindowSurface::scroll(), and toImage().
|
virtual |
Reimplemented from QPixmapData.
Definition at line 179 of file qpixmap_blitter.cpp.
Referenced by fromImage(), and paintEngine().
|
pure virtual |
Implemented in QDirectFbBlitterPlatformPixmap.
Referenced by blittable().
|
virtual |
Implements QPixmapData.
Definition at line 134 of file qpixmap_blitter.cpp.
|
virtual |
Implements QPixmapData.
Definition at line 194 of file qpixmap_blitter.cpp.
|
virtual |
Implements QPixmapData.
Definition at line 189 of file qpixmap_blitter.cpp.
Referenced by fill().
|
inline |
Definition at line 105 of file qpixmap_blitter_p.h.
Referenced by fromImage().
Definition at line 123 of file qpixmap_blitter_p.h.
|
inline |
Definition at line 114 of file qpixmap_blitter_p.h.
|
inline |
Definition at line 179 of file qpixmap_blitter_p.h.
|
inline |
Definition at line 136 of file qpixmap_blitter_p.h.
|
inline |
Definition at line 147 of file qpixmap_blitter_p.h.
|
inline |
Definition at line 159 of file qpixmap_blitter_p.h.
|
inline |
Definition at line 169 of file qpixmap_blitter_p.h.
|
virtual |
Implements QPixmapData.
Definition at line 107 of file qpixmap_blitter.cpp.
|
virtual |
Implements QPixmapData.
Definition at line 217 of file qpixmap_blitter.cpp.
|
virtual |
Implements QPixmapData.
Definition at line 93 of file qpixmap_blitter.cpp.
Referenced by fromImage(), and setBlittable().
void QBlittablePixmapData::setBlittable | ( | QBlittable * | blittable | ) |
Definition at line 87 of file qpixmap_blitter.cpp.
Referenced by QDirectFbWindowSurface::resize().
|
virtual |
Implements QPixmapData.
Definition at line 184 of file qpixmap_blitter.cpp.
|
inline |
Definition at line 188 of file qpixmap_blitter_p.h.
|
protected |
Definition at line 91 of file qpixmap_blitter_p.h.
Referenced by blittable(), fill(), and fromImage().
|
protected |
Definition at line 90 of file qpixmap_blitter_p.h.
Referenced by blittable(), fill(), resize(), and setBlittable().
|
protected |
Definition at line 89 of file qpixmap_blitter_p.h.
Referenced by fill(), paintEngine(), and resize().