Qt 4.8
|
#include <qdirectfbpaintdevice.h>
Public Functions | |
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... | |
int | metric (QPaintDevice::PaintDeviceMetric metric) const |
Reimplemented Function More... | |
QPaintEngine * | paintEngine () const |
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 () |
Protected Functions | |
int | dotsPerMeterX () const |
int | dotsPerMeterY () const |
QDirectFBPaintDevice (QDirectFBScreen *scr) | |
Protected Functions inherited from QPaintDevice | |
QPaintDevice () | |
Protected Variables | |
int | bpl |
IDirectFBSurface * | dfbSurface |
QDirectFBPaintEngine * | engine |
QImage::Format | imageFormat |
QImage | lockedImage |
DFBSurfaceLockFlags | lockFlgs |
uchar * | mem |
QDirectFBScreen * | screen |
Protected Variables inherited from QPaintDevice | |
ushort | painters |
Additional Inherited Members | |
Public Types inherited from QPaintDevice | |
enum | PaintDeviceMetric { PdmWidth = 1, PdmHeight, PdmWidthMM, PdmHeightMM, PdmNumColors, PdmDepth, PdmDpiX, PdmDpiY, PdmPhysicalDpiX, PdmPhysicalDpiY } |
Static Public Functions inherited from QPaintDevice | |
static QWSDisplay * | qwsDisplay () |
Related Functions inherited from QPaintDevice | |
const Q_GUI_EXPORT QX11Info * | qt_x11Info (const QPaintDevice *pd) |
Returns the QX11Info structure for the pd paint device. More... | |
Definition at line 58 of file qdirectfbpaintdevice.h.
QDirectFBPaintDevice::~QDirectFBPaintDevice | ( | ) |
Definition at line 60 of file qdirectfbpaintdevice.cpp.
|
protected |
Definition at line 50 of file qdirectfbpaintdevice.cpp.
Referenced by lockFlags().
|
virtual |
Returns the number of bytes per line in the framebuffer.
Note that this number might be larger than the framebuffer width.
Reimplemented from QCustomRasterPaintDevice.
Definition at line 143 of file qdirectfbpaintdevice.cpp.
|
virtual |
Reimplemented in QDirectFBWindowSurface.
Definition at line 74 of file qdirectfbpaintdevice.cpp.
Referenced by QDirectFBPixmapData::copy(), QDirectFBPaintEnginePrivate::drawTiledPixmap(), and qt_directfb_surface_for_pixmap().
|
inlineprotected |
Definition at line 78 of file qdirectfbpaintdevice.h.
Referenced by metric().
|
inlineprotected |
Definition at line 82 of file qdirectfbpaintdevice.h.
Referenced by metric().
|
virtual |
Returns the format of the device's memory buffet.
The default format is QImage::Format_ARGB32_Premultiplied. The only other valid format is QImage::Format_RGB16.
Reimplemented from QCustomRasterPaintDevice.
Definition at line 138 of file qdirectfbpaintdevice.cpp.
Referenced by QDirectFBPixmapData::fromFile().
|
inline |
Definition at line 74 of file qdirectfbpaintdevice.h.
Referenced by QDirectFBPixmapData::copy(), lockSurface(), and QDirectFBPixmapData::transformed().
bool QDirectFBPaintDevice::lockSurface | ( | DFBSurfaceLockFlags | lockFlags | ) |
Definition at line 79 of file qdirectfbpaintdevice.cpp.
Referenced by QDirectFBPixmapData::buffer(), and QDirectFBPaintEnginePrivate::lock().
|
virtual |
Returns a pointer to the paint device's memory buffer, or 0 if no such buffer exists.
Reimplemented from QCustomRasterPaintDevice.
Definition at line 133 of file qdirectfbpaintdevice.cpp.
|
virtual |
Reimplemented Function
Reimplemented from QCustomRasterPaintDevice.
Reimplemented in QDirectFBPixmapData.
Definition at line 156 of file qdirectfbpaintdevice.cpp.
Referenced by QDirectFBPixmapData::metric().
|
virtual |
Implements QPaintDevice.
Reimplemented in QDirectFBPixmapData.
Definition at line 202 of file qdirectfbpaintdevice.cpp.
Referenced by lockFlags().
|
virtual |
Reimplemented from QCustomRasterPaintDevice.
Definition at line 149 of file qdirectfbpaintdevice.cpp.
Referenced by QDirectFBPixmapData::fill(), lockSurface(), metric(), and QDirectFBPixmapData::transformed().
void QDirectFBPaintDevice::unlockSurface | ( | ) |
Definition at line 117 of file qdirectfbpaintdevice.cpp.
Referenced by QDirectFBPixmapData::copy(), QDirectFBWindowSurface::endPaint(), lockSurface(), paintEngine(), QDirectFBWindowSurface::releaseSurface(), QDirectFBPixmapData::scroll(), QDirectFBPixmapData::transformed(), QDirectFBPaintEnginePrivate::unlock(), and ~QDirectFBPaintDevice().
|
protected |
Definition at line 96 of file qdirectfbpaintdevice.h.
Referenced by bytesPerLine(), and lockSurface().
|
protected |
Definition at line 87 of file qdirectfbpaintdevice.h.
Referenced by QDirectFBWindowSurface::beginPaint(), QDirectFBPixmapData::copy(), QDirectFBWindowSurface::createWindow(), directFBSurface(), QDirectFBWindowSurface::directFBSurface(), QDirectFBPixmapData::fill(), QDirectFBWindowSurface::flush(), QDirectFBPixmapData::fromDataBufferDescription(), QDirectFBPixmapData::fromImage(), QDirectFBPixmapData::invalidate(), lockSurface(), metric(), QDirectFBWindowSurface::releaseSurface(), QDirectFBPixmapData::resize(), QDirectFBWindowSurface::scroll(), QDirectFBPixmapData::scroll(), QDirectFBWindowSurface::setGeometry(), QDirectFBWindowSurface::setPermanentState(), size(), QDirectFBWindowSurface::surfaceForWidget(), QDirectFBPixmapData::toImage(), QDirectFBPixmapData::transformed(), unlockSurface(), and ~QDirectFBPaintDevice().
|
protected |
Definition at line 99 of file qdirectfbpaintdevice.h.
Referenced by QDirectFBWindowSurface::beginPaint(), paintEngine(), QDirectFBPixmapData::paintEngine(), QDirectFBWindowSurface::setGeometry(), and ~QDirectFBPaintDevice().
|
protected |
Definition at line 100 of file qdirectfbpaintdevice.h.
Referenced by QDirectFBPixmapData::copy(), QDirectFBWindowSurface::createWindow(), QDirectFBPixmapData::fill(), format(), QDirectFBPixmapData::fromDataBufferDescription(), QDirectFBPixmapData::fromImage(), QDirectFBPixmapData::invalidate(), metric(), QDirectFBPixmapData::pixelFormat(), QDirectFBPixmapData::resize(), QDirectFBWindowSurface::setGeometry(), and QDirectFBPixmapData::transformed().
|
protected |
Definition at line 94 of file qdirectfbpaintdevice.h.
Referenced by QDirectFBPixmapData::buffer(), lockSurface(), and metric().
|
protected |
Definition at line 97 of file qdirectfbpaintdevice.h.
Referenced by QDirectFBPixmapData::buffer(), lockFlags(), lockSurface(), and unlockSurface().
|
protected |
Definition at line 98 of file qdirectfbpaintdevice.h.
Referenced by bytesPerLine(), lockSurface(), memory(), and unlockSurface().
|
protected |
Definition at line 95 of file qdirectfbpaintdevice.h.
Referenced by QDirectFBPixmapData::copy(), QDirectFBWindowSurface::createWindow(), dotsPerMeterX(), dotsPerMeterY(), QDirectFBPixmapData::fill(), QDirectFBWindowSurface::flush(), QDirectFBPixmapData::fromDataBufferDescription(), QDirectFBPixmapData::fromImage(), QDirectFBPixmapData::invalidate(), lockSurface(), paintEngine(), QDirectFBWindowSurface::releaseSurface(), QDirectFBPixmapData::resize(), QDirectFBWindowSurface::setGeometry(), QDirectFBWindowSurface::setPermanentState(), QDirectFBPixmapData::toImage(), QDirectFBPixmapData::transformed(), and ~QDirectFBPaintDevice().