Qt 4.8
|
#include <qdirectfbpixmap.h>
Public Functions | |
virtual QImage * | buffer () |
virtual void | copy (const QPixmapData *data, const QRect &rect) |
virtual void | fill (const QColor &color) |
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 | fromImage (const QImage &image, Qt::ImageConversionFlags flags) |
bool | hasAlphaChannel () const |
virtual int | metric (QPaintDevice::PaintDeviceMetric m) const |
virtual QPaintEngine * | paintEngine () const |
QImage::Format | pixelFormat () const |
QDirectFBPixmapData (QDirectFBScreen *screen, PixelType pixelType) | |
virtual void | resize (int width, int height) |
virtual bool | scroll (int dx, int dy, const QRect &rect) |
virtual QImage | toImage () const |
virtual QPixmap | transformed (const QTransform &matrix, Qt::TransformationMode mode) const |
~QDirectFBPixmapData () | |
Public Functions inherited from QPixmapData | |
virtual QPixmap | alphaChannel () const |
qint64 | cacheKey () const |
ClassId | classId () const |
int | colorCount () const |
virtual QPixmapData * | createCompatiblePixmapData () const |
int | depth () const |
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 |
int | serialNumber () const |
virtual void | setAlphaChannel (const QPixmap &alphaChannel) |
virtual void | setMask (const QBitmap &mask) |
virtual QImage | toImage (const QRect &rect) const |
int | width () const |
virtual | ~QPixmapData () |
Public Functions inherited from QDirectFBPaintDevice | |
int | bytesPerLine () const |
Returns the number of bytes per line in the framebuffer. More... | |
virtual IDirectFBSurface * | directFBSurface () const |
QImage::Format | format () const |
Returns the format of the device's memory buffet. More... | |
DFBSurfaceLockFlags | lockFlags () const |
bool | lockSurface (DFBSurfaceLockFlags lockFlags) |
void * | memory () const |
Returns a pointer to the paint device's memory buffer, or 0 if no such buffer exists. More... | |
QSize | size () const |
void | unlockSurface () |
~QDirectFBPaintDevice () | |
Public Functions inherited from QCustomRasterPaintDevice | |
int | devType () const |
QCustomRasterPaintDevice (QWidget *w) | |
Constructs a custom raster based paint device for the given top-level widget. More... | |
Public Functions inherited from QPaintDevice | |
int | colorCount () const |
int | depth () const |
virtual HDC | getDC () const |
int | height () const |
int | heightMM () const |
int | logicalDpiX () const |
int | logicalDpiY () const |
QT_DEPRECATED int | numColors () const |
bool | paintingActive () const |
int | physicalDpiX () const |
int | physicalDpiY () const |
virtual void | releaseDC (HDC hdc) const |
int | width () const |
int | widthMM () const |
virtual | ~QPaintDevice () |
Static Public Functions | |
static bool | hasAlphaChannel (const QImage &img, Qt::ImageConversionFlags flags=Qt::AutoColor) |
Static Public Functions inherited from QPixmapData | |
static QPixmapData * | create (int w, int h, PixelType type) |
Static Public Functions inherited from QPaintDevice | |
static QWSDisplay * | qwsDisplay () |
Private Functions | |
bool | fromDataBufferDescription (const DFBDataBufferDescription &dataBuffer) |
void | invalidate () |
Properties | |
bool | alpha |
Definition at line 62 of file qdirectfbpixmap.h.
QDirectFBPixmapData::QDirectFBPixmapData | ( | QDirectFBScreen * | screen, |
PixelType | pixelType | ||
) |
Definition at line 58 of file qdirectfbpixmap.cpp.
Referenced by transformed().
QDirectFBPixmapData::~QDirectFBPixmapData | ( | ) |
Definition at line 65 of file qdirectfbpixmap.cpp.
|
virtual |
Reimplemented from QPixmapData.
Definition at line 526 of file qdirectfbpixmap.cpp.
Referenced by fromData(), toImage(), and transformed().
|
virtual |
Reimplemented from QPixmapData.
Definition at line 332 of file qdirectfbpixmap.cpp.
|
virtual |
Implements QPixmapData.
Definition at line 402 of file qdirectfbpixmap.cpp.
|
virtual |
Reimplemented from QPixmapData.
Definition at line 206 of file qdirectfbpixmap.cpp.
Referenced by fromFile().
|
private |
Definition at line 235 of file qdirectfbpixmap.cpp.
Referenced by fromData(), fromFile(), and hasAlphaChannel().
|
virtual |
Reimplemented from QPixmapData.
Definition at line 179 of file qdirectfbpixmap.cpp.
|
virtual |
Implements QPixmapData.
Definition at line 298 of file qdirectfbpixmap.cpp.
Referenced by transformed().
|
inlinevirtual |
Implements QPixmapData.
Definition at line 89 of file qdirectfbpixmap.h.
Referenced by QDirectFBScreen::createDFBSurface(), fromImage(), QDirectFBPaintEnginePrivate::getSurface(), and toImage().
|
static |
Definition at line 166 of file qdirectfbpixmap.cpp.
|
private |
Definition at line 564 of file qdirectfbpixmap.cpp.
Referenced by copy(), fill(), fromImage(), hasAlphaChannel(), and resize().
|
inlinevirtual |
Implements QPixmapData.
Definition at line 86 of file qdirectfbpixmap.h.
|
virtual |
Implements QPixmapData.
Definition at line 515 of file qdirectfbpixmap.cpp.
|
inline |
Definition at line 88 of file qdirectfbpixmap.h.
|
virtual |
Implements QPixmapData.
Definition at line 69 of file qdirectfbpixmap.cpp.
|
virtual |
Reimplemented from QPixmapData.
Definition at line 537 of file qdirectfbpixmap.cpp.
|
virtual |
Implements QPixmapData.
Definition at line 480 of file qdirectfbpixmap.cpp.
|
virtual |
Reimplemented from QPixmapData.
Definition at line 429 of file qdirectfbpixmap.cpp.
|
private |
Definition at line 96 of file qdirectfbpixmap.h.
Referenced by copy(), fill(), fromDataBufferDescription(), fromImage(), hasAlphaChannel(), invalidate(), resize(), and transformed().