Qt 4.8
|
#include <qpaintbuffer_p.h>
Public Functions | |
void | beginNewFrame () |
QRectF | boundingRect () const |
QString | commandDescription (int command) const |
virtual int | devType () const |
void | draw (QPainter *painter, int frame=0) const |
int | frameEndIndex (int frame) const |
int | frameStartIndex (int frame) const |
bool | isEmpty () const |
virtual int | metric (PaintDeviceMetric m) const |
int | numFrames () const |
QPaintBuffer & | operator= (const QPaintBuffer &other) |
virtual QPaintEngine * | paintEngine () const |
int | processCommands (QPainter *painter, int begin, int end) const |
QPaintBuffer () | |
QPaintBuffer (const QPaintBuffer &other) | |
void | setBoundingRect (const QRectF &rect) |
~QPaintBuffer () | |
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 () |
Properties | |
QPaintBufferPrivate * | d_ptr |
Friends | |
Q_GUI_EXPORT QDataStream & | operator<< (QDataStream &stream, const QPaintBuffer &buffer) |
Q_GUI_EXPORT QDataStream & | operator>> (QDataStream &stream, QPaintBuffer &buffer) |
class | QOpenGLReplayer |
class | QPainterReplayer |
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 () |
Protected Functions inherited from QPaintDevice | |
QPaintDevice () | |
Protected Variables inherited from QPaintDevice | |
ushort | painters |
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 67 of file qpaintbuffer_p.h.
QPaintBuffer::QPaintBuffer | ( | ) |
Definition at line 171 of file qpaintbuffer.cpp.
QPaintBuffer::QPaintBuffer | ( | const QPaintBuffer & | other | ) |
Definition at line 182 of file qpaintbuffer.cpp.
QPaintBuffer::~QPaintBuffer | ( | ) |
Definition at line 176 of file qpaintbuffer.cpp.
void QPaintBuffer::beginNewFrame | ( | ) |
Definition at line 1392 of file qpaintbuffer.cpp.
Referenced by QTraceWindowSurface::beginPaint().
QRectF QPaintBuffer::boundingRect | ( | ) | const |
Definition at line 558 of file qpaintbuffer.cpp.
QString QPaintBuffer::commandDescription | ( | int | command | ) | const |
Definition at line 315 of file qpaintbuffer.cpp.
|
virtual |
Reimplemented from QPaintDevice.
Definition at line 222 of file qpaintbuffer.cpp.
void QPaintBuffer::draw | ( | QPainter * | painter, |
int | frame = 0 |
||
) | const |
Definition at line 246 of file qpaintbuffer.cpp.
Referenced by QTraceWindowSurface::endPaint().
int QPaintBuffer::frameEndIndex | ( | int | frame | ) | const |
Definition at line 283 of file qpaintbuffer.cpp.
Referenced by draw().
int QPaintBuffer::frameStartIndex | ( | int | frame | ) | const |
Definition at line 278 of file qpaintbuffer.cpp.
Referenced by draw().
bool QPaintBuffer::isEmpty | ( | ) | const |
Definition at line 239 of file qpaintbuffer.cpp.
|
virtual |
Reimplemented from QPaintDevice.
Definition at line 197 of file qpaintbuffer.cpp.
int QPaintBuffer::numFrames | ( | ) | const |
QPaintBuffer & QPaintBuffer::operator= | ( | const QPaintBuffer & | other | ) |
Definition at line 227 of file qpaintbuffer.cpp.
|
virtual |
Implements QPaintDevice.
Definition at line 188 of file qpaintbuffer.cpp.
int QPaintBuffer::processCommands | ( | QPainter * | painter, |
int | begin, | ||
int | end | ||
) | const |
Definition at line 288 of file qpaintbuffer.cpp.
Referenced by draw().
void QPaintBuffer::setBoundingRect | ( | const QRectF & | rect | ) |
Definition at line 563 of file qpaintbuffer.cpp.
Referenced by QTraceWindowSurface::paintDevice().
|
friend |
Definition at line 2181 of file qpaintbuffer.cpp.
|
friend |
Definition at line 2238 of file qpaintbuffer.cpp.
|
friend |
Definition at line 100 of file qpaintbuffer_p.h.
|
friend |
Definition at line 99 of file qpaintbuffer_p.h.
|
private |
Definition at line 105 of file qpaintbuffer_p.h.
Referenced by boundingRect(), commandDescription(), frameEndIndex(), frameStartIndex(), isEmpty(), metric(), operator=(), operator>>(), paintEngine(), processCommands(), QPainterReplayer::processCommands(), QPaintBuffer(), setBoundingRect(), and ~QPaintBuffer().