LunaSysMgr
|
#include <pixmaphugeobject.h>
Classes | |
class | FragmentedPaintCoordinate |
Public Member Functions | |
PixmapHugeObject () | |
PixmapHugeObject (int width, int height) | |
PixmapHugeObject (const QString &fileName, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor) | |
PixmapHugeObject (const QList< QString > &fileNames, const QSize &fileLayout, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor) | |
PixmapHugeObject (const QList< QPixmap > &pixmaps, const QSize &layout) | |
virtual | ~PixmapHugeObject () |
virtual bool | valid () const |
virtual QSize | size () const |
virtual int | width () const |
virtual int | height () const |
virtual QSizeF | sizeF () const |
virtual quint64 | sizeOf () const |
virtual bool | isSquare () const |
virtual void | paint (QPainter *painter) |
NOTE: none of the paint() functions check validity, for speed sake. More... | |
virtual void | paint (QPainter *painter, const QPointF &targetOriginInPainterCS) |
virtual void | paint (QPainter *painter, const QRectF &targetRectInPainterCS) |
virtual void | paint (QPainter *painter, const QRect &targetRectInPainterCS, const QRect &sourceRect) |
virtual QPoint | translatePaintTargetPointToPixmapPoint (const QPoint &point, const QRect &sourceRect, const QRect &destRect) |
virtual QVector< qint32 > | translatePaintTargetPointToPixmapPointEx (const QPoint &point, const QRect &sourceRect, const QRect &destRect) |
QVector< int > | hugeSpaceCoordinatesOfPoint (const QPoint &pointInAbsolutePainterCS) |
QVector< int > | hugeSpaceCoordinatesOfPoint (const int x, const int y) |
QVector < FragmentedPaintCoordinate > | paintCoordinates (const QRect &rectInAbsolutePainterCS) |
virtual QPixmap * | pixAt (const quint32 index) const |
virtual QPixmap * | operator-> () const |
virtual QPixmap & | operator* () const |
virtual | operator QPixmap * () const |
virtual QPixmap * | data () const |
void | dbg_save (const QString &baseName) |
Public Member Functions inherited from PixmapObject | |
PixmapObject () | |
PixmapObject (int width, int height) | |
PixmapObject (const QString &fileName, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor) | |
PixmapObject (const QString &fileName, const QSize &desiredSize, bool limitOnly=true, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor) | |
virtual PixmapObject * | clone () |
virtual | ~PixmapObject () |
virtual QUuid | id () const |
virtual void | setId (const QUuid &uid) |
virtual void | setId (const QString &quuid_as_string) |
virtual bool | resize (const quint32 w, const quint32 h) |
virtual bool | resize (const QSize &size) |
virtual QSize | nativeSize () const |
virtual int | nativeWidth () const |
virtual int | nativeHeight () const |
virtual QSizeF | nativeSizeF () const |
virtual void | fill (const QColor &c) |
Static Public Member Functions | |
static QSize | pixmapToArraySize (const QSize &pixmapSize, const QSize &maxSinglePixmapSize) |
static QSize | pixmapToArraySize (const QSize &pixmapSize, const QSize &maxSinglePixmapSize, QSize &r_rightAndBottomEdgeSizes) |
Static Public Member Functions inherited from PixmapObject | |
static quint64 | sizeOfPixmap (const QPixmap *p_pixmap) |
static quint64 | sizeOfPixmap (quint32 width, quint32 height) |
Protected Member Functions | |
PixmapHugeObject (const QVector< QPixmap * > pixmaps, const QSize &layout) | |
protected: More... | |
virtual void | allocatePixmaps (const QSize &arraySize, const QSize &normalSize, const QSize &leftoverSize) |
virtual void | copyToPixmaps (const QImage &sourceImage) |
Protected Member Functions inherited from PixmapObject | |
PixmapObject (QPixmap *p_pixmap) | |
PixmapObject (const QUuid &specificUid) | |
Protected Attributes | |
QSize | m_arraySize |
QVector< QRect > | m_pixmapRectCoords |
QSize | m_hugePixmapSize |
QVector< QPixmap * > | m_pixmaps |
bool | m_valid |
Protected Attributes inherited from PixmapObject | |
QUuid | m_uid |
QPixmap * | pm |
bool | m_destroyEmitted |
Friends | |
class | VirtualCamera |
class | DemoGoggles |
class | PixPager |
class | PixPagerPage |
class | PixPagerAtlasPage |
QDebug | operator<< (QDebug dbg, const PixmapHugeObject &c) |
Additional Inherited Members | |
Signals inherited from PixmapObject | |
void | signalObjectDestroyed () |
PixmapHugeObject::PixmapHugeObject | ( | ) |
PixmapHugeObject::PixmapHugeObject | ( | const QString & | fileName, |
const char * | format = 0 , |
||
Qt::ImageConversionFlags | flags = Qt::AutoColor |
||
) |
PixmapHugeObject::PixmapHugeObject | ( | const QList< QString > & | fileNames, |
const QSize & | fileLayout, | ||
const char * | format = 0 , |
||
Qt::ImageConversionFlags | flags = Qt::AutoColor |
||
) |
PixmapHugeObject::PixmapHugeObject | ( | const QList< QPixmap > & | pixmaps, |
const QSize & | layout | ||
) |
|
virtual |
|
protected |
protected:
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Reimplemented from PixmapObject.
void PixmapHugeObject::dbg_save | ( | const QString & | baseName | ) |
|
virtual |
Reimplemented from PixmapObject.
QVector< int > PixmapHugeObject::hugeSpaceCoordinatesOfPoint | ( | const QPoint & | pointInAbsolutePainterCS | ) |
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
NOTE: none of the paint() functions check validity, for speed sake.
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
QVector< PixmapHugeObject::FragmentedPaintCoordinate > PixmapHugeObject::paintCoordinates | ( | const QRect & | rectInAbsolutePainterCS | ) |
|
virtual |
|
static |
|
static |
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |