LunaSysMgr
|
#include <pixmap9tileobject.h>
Public Member Functions | |
Pixmap9TileObject () | |
Pixmap9TileObject (const quint32 width, const quint32 height, const QString &imageFilename, const QVector< QRect > &sliceCoordinates, PixmapTilingStyle::Enum sideTilingStyle=PixmapTilingStyle::Scale, PixmapTilingStyle::Enum centerTilingStyle=PixmapTilingStyle::Scale, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor) | |
Pixmap9TileObject (const quint32 width, const quint32 height, const QString &imageFilename, const quint32 topIn, const quint32 bottomIn, const quint32 leftIn, const quint32 rightIn, PixmapTilingStyle::Enum sideTilingStyle=PixmapTilingStyle::Scale, PixmapTilingStyle::Enum centerTilingStyle=PixmapTilingStyle::Scale, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor) | |
virtual | ~Pixmap9TileObject () |
virtual QSize | size () const |
virtual int | width () const |
virtual int | height () const |
virtual QSizeF | sizeF () const |
virtual void | paint (QPainter *painter, const QPointF &targetOriginInPainterCS) |
virtual bool | resize (const QSize &size) |
virtual bool | resize (const quint32 w, const quint32 h) |
virtual bool | retile (const quint32 topIn, const quint32 bottomIn, const quint32 leftIn, const quint32 rightIn, PixmapTilingStyle::Enum sideTilingStyle=PixmapTilingStyle::Scale, PixmapTilingStyle::Enum centerTilingStyle=PixmapTilingStyle::Scale) |
virtual bool | retile (const QVector< QRect > &sliceCoordinates, PixmapTilingStyle::Enum sideTilingStyle=PixmapTilingStyle::Scale, PixmapTilingStyle::Enum centerTilingStyle=PixmapTilingStyle::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 void | paint (QPainter *painter) |
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) |
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 topIn, const quint32 bottomIn, 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 |
PixmapTilingStyle::Enum | m_sideTilingStyle |
PixmapTilingStyle::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 () |
Pixmap9TileObject::Pixmap9TileObject | ( | ) |
Pixmap9TileObject::Pixmap9TileObject | ( | const quint32 | width, |
const quint32 | height, | ||
const QString & | imageFilename, | ||
const QVector< QRect > & | sliceCoordinates, | ||
PixmapTilingStyle::Enum | sideTilingStyle = PixmapTilingStyle::Scale , |
||
PixmapTilingStyle::Enum | centerTilingStyle = PixmapTilingStyle::Scale , |
||
const char * | format = 0 , |
||
Qt::ImageConversionFlags | flags = Qt::AutoColor |
||
) |
Pixmap9TileObject::Pixmap9TileObject | ( | const quint32 | width, |
const quint32 | height, | ||
const QString & | imageFilename, | ||
const quint32 | topIn, | ||
const quint32 | bottomIn, | ||
const quint32 | leftIn, | ||
const quint32 | rightIn, | ||
PixmapTilingStyle::Enum | sideTilingStyle = PixmapTilingStyle::Scale , |
||
PixmapTilingStyle::Enum | centerTilingStyle = PixmapTilingStyle::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 |
|
virtual |
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |