LunaSysMgr
|
#include <pixmap3htileobject.h>
Public Member Functions | |
Pixmap3HTileObject () | |
Pixmap3HTileObject (const quint32 width, const quint32 height, const QString &imageFilename, const QVector< QRect > &sliceCoordinates, PixmapHTilingStyle::Enum centerTilingStyle=PixmapHTilingStyle::Scale, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor) | |
Pixmap3HTileObject (const quint32 width, const quint32 height, const QString &imageFilename, const quint32 leftIn, const quint32 rightIn, PixmapHTilingStyle::Enum centerTilingStyle=PixmapHTilingStyle::Scale, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor) | |
virtual | ~Pixmap3HTileObject () |
virtual QSize | size () const |
virtual int | width () const |
virtual int | height () const |
virtual QSizeF | sizeF () const |
virtual void | paint (QPainter *painter) |
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 bool | resize (const QSize &size) |
virtual bool | resize (const quint32 w, const quint32 h) |
virtual bool | retile (const quint32 leftIn, const quint32 rightIn, PixmapHTilingStyle::Enum centerTilingStyle=PixmapHTilingStyle::Scale, PixmapHTilingStyle::Enum sideTilingStyle=PixmapHTilingStyle::Scale) |
virtual bool | retile (const QVector< QRect > &sliceCoordinates, PixmapHTilingStyle::Enum centerTilingStyle=PixmapHTilingStyle::Scale, PixmapHTilingStyle::Enum sideTilingStyle=PixmapHTilingStyle::Scale) |
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 bool | valid () const |
virtual QUuid | id () const |
virtual void | setId (const QUuid &uid) |
virtual void | setId (const QString &quuid_as_string) |
virtual quint64 | sizeOf () const |
virtual bool | isSquare () const |
virtual QSize | nativeSize () const |
virtual int | nativeWidth () const |
virtual int | nativeHeight () const |
virtual QSizeF | nativeSizeF () const |
virtual void | fill (const QColor &c) |
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) |
virtual QPixmap * | operator-> () const |
virtual QPixmap & | operator* () const |
virtual | operator QPixmap * () const |
virtual QPixmap * | data () const |
Static Public Member Functions | |
static bool | makeSlices (const quint32 width, const quint32 height, const quint32 leftIn, const quint32 rightIn, QVector< QRect > &r_slices, QRect &r_inCoords) |
Static Public Member Functions inherited from PixmapObject | |
static quint64 | sizeOfPixmap (const QPixmap *p_pixmap) |
static quint64 | sizeOfPixmap (quint32 width, quint32 height) |
Protected Member Functions | |
bool | createDestinationRectangles () |
Protected Member Functions inherited from PixmapObject | |
PixmapObject (QPixmap *p_pixmap) | |
PixmapObject (const QUuid &specificUid) | |
Protected Attributes | |
QSize | m_destinationSizeRequested |
QRect | m_inCoords |
QRectF | m_geom |
QRectF | m_boundingRect |
QVector< QRect > | m_sourceRects |
QVector< QRectF > | m_destRects |
PixmapHTilingStyle::Enum | m_sideTilingStyle |
PixmapHTilingStyle::Enum | m_centerTilingStyle |
Protected Attributes inherited from PixmapObject | |
QUuid | m_uid |
QPixmap * | pm |
bool | m_destroyEmitted |
Friends | |
class | PixPager |
class | PixPagerPage |
class | PixPagerAtlasPage |
Additional Inherited Members | |
Signals inherited from PixmapObject | |
void | signalObjectDestroyed () |
Pixmap3HTileObject::Pixmap3HTileObject | ( | ) |
Pixmap3HTileObject::Pixmap3HTileObject | ( | const quint32 | width, |
const quint32 | height, | ||
const QString & | imageFilename, | ||
const QVector< QRect > & | sliceCoordinates, | ||
PixmapHTilingStyle::Enum | centerTilingStyle = PixmapHTilingStyle::Scale , |
||
const char * | format = 0 , |
||
Qt::ImageConversionFlags | flags = Qt::AutoColor |
||
) |
Pixmap3HTileObject::Pixmap3HTileObject | ( | const quint32 | width, |
const quint32 | height, | ||
const QString & | imageFilename, | ||
const quint32 | leftIn, | ||
const quint32 | rightIn, | ||
PixmapHTilingStyle::Enum | centerTilingStyle = PixmapHTilingStyle::Scale , |
||
const char * | format = 0 , |
||
Qt::ImageConversionFlags | flags = Qt::AutoColor |
||
) |
|
virtual |
|
protected |
|
virtual |
Reimplemented from PixmapObject.
|
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 |
|
virtual |
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |