Qt 4.8
|
#include <qblittable_p.h>
Public Types | |
enum | Capability { SolidRectCapability = 0x0001, SourcePixmapCapability = 0x0002, SourceOverPixmapCapability = 0x0004, SourceOverScaledPixmapCapability = 0x0008, AlphaFillRectCapability = 0x0010, OpacityPixmapCapability = 0x0020, OutlineCapability = 0x0001000 } |
Public Functions | |
virtual void | alphaFillRect (const QRectF &rect, const QColor &color, QPainter::CompositionMode cmode) |
Capabilities | capabilities () const |
virtual void | drawPixmap (const QRectF &rect, const QPixmap &pixmap, const QRectF &subrect)=0 |
virtual void | drawPixmapOpacity (const QRectF &rect, const QPixmap &pixmap, const QRectF &subrect, QPainter::CompositionMode cmode, qreal opacity) |
virtual void | fillRect (const QRectF &rect, const QColor &color)=0 |
bool | isLocked () const |
QImage * | lock () |
Q_DECLARE_FLAGS (Capabilities, Capability) | |
QBlittable (const QSize &size, Capabilities caps) | |
QSize | size () const |
void | unlock () |
virtual | ~QBlittable () |
Protected Functions | |
virtual QImage * | doLock ()=0 |
virtual void | doUnlock ()=0 |
Protected Variables | |
QBlittablePrivate * | d_ptr |
Private Functions | |
Q_DECLARE_PRIVATE (QBlittable) | |
Definition at line 55 of file qblittable_p.h.
Enumerator | |
---|---|
SolidRectCapability | |
SourcePixmapCapability | |
SourceOverPixmapCapability | |
SourceOverScaledPixmapCapability | |
AlphaFillRectCapability | |
OpacityPixmapCapability | |
OutlineCapability |
Definition at line 59 of file qblittable_p.h.
QBlittable::QBlittable | ( | const QSize & | size, |
Capabilities | caps | ||
) |
Definition at line 60 of file qblittable.cpp.
|
virtual |
Definition at line 65 of file qblittable.cpp.
|
inlinevirtual |
Reimplemented in QDirectFbBlitter.
Definition at line 81 of file qblittable_p.h.
Referenced by QBlittablePixmapData::fill().
QBlittable::Capabilities QBlittable::capabilities | ( | ) | const |
Definition at line 71 of file qblittable.cpp.
Referenced by QBlittablePixmapData::fill().
|
protectedpure virtual |
Implemented in QDirectFbBlitter.
Referenced by lock().
|
protectedpure virtual |
Implemented in QDirectFbBlitter.
Referenced by unlock().
|
pure virtual |
Implemented in QDirectFbBlitter.
|
inlinevirtual |
Reimplemented in QDirectFbBlitter.
Definition at line 87 of file qblittable_p.h.
Implemented in QDirectFbBlitter.
Referenced by QBlittablePixmapData::fill().
bool QBlittable::isLocked | ( | ) | const |
Definition at line 83 of file qblittable.cpp.
QImage * QBlittable::lock | ( | ) |
Definition at line 89 of file qblittable.cpp.
Referenced by QBlittablePixmapData::buffer(), QBlittablePixmapData::fill(), QBlittablePixmapData::hasAlphaChannel(), and QBlittablePixmapData::toImage().
QBlittable::Q_DECLARE_FLAGS | ( | Capabilities | , |
Capability | |||
) |
|
private |
QSize QBlittable::size | ( | ) | const |
Definition at line 77 of file qblittable.cpp.
Referenced by QDirectFbBlitter::doLock(), and QBlittablePixmapData::setBlittable().
void QBlittable::unlock | ( | ) |
Definition at line 100 of file qblittable.cpp.
Referenced by QDirectFbBlitter::drawPixmapOpacity(), QBlittablePixmapData::fill(), QDirectFbWindowSurface::flush(), QDirectFbWindowSurface::scroll(), and QDirectFbBlitter::~QDirectFbBlitter().
|
protected |
Definition at line 105 of file qblittable_p.h.
Referenced by ~QBlittable().