LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Pixmap3HTileObject Class Reference

#include <pixmap3htileobject.h>

Inheritance diagram for Pixmap3HTileObject:
[legend]
Collaboration diagram for Pixmap3HTileObject:
[legend]

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 PixmapObjectclone ()
 
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 ()
 

Constructor & Destructor Documentation

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 
)
Pixmap3HTileObject::~Pixmap3HTileObject ( )
virtual

Member Function Documentation

bool Pixmap3HTileObject::createDestinationRectangles ( )
protected
int Pixmap3HTileObject::height ( ) const
virtual

Reimplemented from PixmapObject.

bool Pixmap3HTileObject::makeSlices ( const quint32  width,
const quint32  height,
const quint32  leftIn,
const quint32  rightIn,
QVector< QRect > &  r_slices,
QRect &  r_inCoords 
)
static
void Pixmap3HTileObject::paint ( QPainter *  painter)
virtual

Reimplemented from PixmapObject.

void Pixmap3HTileObject::paint ( QPainter *  painter,
const QPointF &  targetOriginInPainterCS 
)
virtual

Reimplemented from PixmapObject.

void Pixmap3HTileObject::paint ( QPainter *  painter,
const QRectF &  targetRectInPainterCS 
)
virtual

Reimplemented from PixmapObject.

void Pixmap3HTileObject::paint ( QPainter *  painter,
const QRect &  targetRectInPainterCS,
const QRect &  sourceRect 
)
virtual

Reimplemented from PixmapObject.

bool Pixmap3HTileObject::resize ( const QSize &  size)
virtual

Reimplemented from PixmapObject.

bool Pixmap3HTileObject::resize ( const quint32  w,
const quint32  h 
)
virtual

Reimplemented from PixmapObject.

bool Pixmap3HTileObject::retile ( const quint32  leftIn,
const quint32  rightIn,
PixmapHTilingStyle::Enum  centerTilingStyle = PixmapHTilingStyle::Scale,
PixmapHTilingStyle::Enum  sideTilingStyle = PixmapHTilingStyle::Scale 
)
virtual
bool Pixmap3HTileObject::retile ( const QVector< QRect > &  sliceCoordinates,
PixmapHTilingStyle::Enum  centerTilingStyle = PixmapHTilingStyle::Scale,
PixmapHTilingStyle::Enum  sideTilingStyle = PixmapHTilingStyle::Scale 
)
virtual
QSize Pixmap3HTileObject::size ( ) const
virtual

Reimplemented from PixmapObject.

QSizeF Pixmap3HTileObject::sizeF ( ) const
virtual

Reimplemented from PixmapObject.

int Pixmap3HTileObject::width ( ) const
virtual

Reimplemented from PixmapObject.

Friends And Related Function Documentation

friend class PixPager
friend
friend class PixPagerAtlasPage
friend
friend class PixPagerPage
friend

Member Data Documentation

QRectF Pixmap3HTileObject::m_boundingRect
protected
PixmapHTilingStyle::Enum Pixmap3HTileObject::m_centerTilingStyle
protected
QSize Pixmap3HTileObject::m_destinationSizeRequested
protected
QVector<QRectF> Pixmap3HTileObject::m_destRects
protected
QRectF Pixmap3HTileObject::m_geom
protected
QRect Pixmap3HTileObject::m_inCoords
protected
PixmapHTilingStyle::Enum Pixmap3HTileObject::m_sideTilingStyle
protected
QVector<QRect> Pixmap3HTileObject::m_sourceRects
protected

The documentation for this class was generated from the following files: