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

#include <pixmap3vtileobject.h>

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

Public Member Functions

 Pixmap3VTileObject ()
 
 Pixmap3VTileObject (const quint32 width, const quint32 height, const QString &imageFilename, const QVector< QRect > &sliceCoordinates, PixmapVTilingStyle::Enum centerTilingStyle=PixmapVTilingStyle::Scale, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor)
 
 Pixmap3VTileObject (const quint32 width, const quint32 height, const QString &imageFilename, const quint32 topIn, const quint32 bottomIn, PixmapVTilingStyle::Enum centerTilingStyle=PixmapVTilingStyle::Scale, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor)
 
virtual ~Pixmap3VTileObject ()
 
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, PixmapVTilingStyle::Enum centerTilingStyle=PixmapVTilingStyle::Scale, PixmapVTilingStyle::Enum sideTilingStyle=PixmapVTilingStyle::Scale)
 
virtual bool retile (const QVector< QRect > &sliceCoordinates, PixmapVTilingStyle::Enum centerTilingStyle=PixmapVTilingStyle::Scale, PixmapVTilingStyle::Enum sideTilingStyle=PixmapVTilingStyle::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 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, 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
 
PixmapVTilingStyle::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

Pixmap3VTileObject::Pixmap3VTileObject ( )
Pixmap3VTileObject::Pixmap3VTileObject ( const quint32  width,
const quint32  height,
const QString &  imageFilename,
const QVector< QRect > &  sliceCoordinates,
PixmapVTilingStyle::Enum  centerTilingStyle = PixmapVTilingStyle::Scale,
const char *  format = 0,
Qt::ImageConversionFlags  flags = Qt::AutoColor 
)
Pixmap3VTileObject::Pixmap3VTileObject ( const quint32  width,
const quint32  height,
const QString &  imageFilename,
const quint32  topIn,
const quint32  bottomIn,
PixmapVTilingStyle::Enum  centerTilingStyle = PixmapVTilingStyle::Scale,
const char *  format = 0,
Qt::ImageConversionFlags  flags = Qt::AutoColor 
)
Pixmap3VTileObject::~Pixmap3VTileObject ( )
virtual

Member Function Documentation

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

Reimplemented from PixmapObject.

bool Pixmap3VTileObject::makeSlices ( const quint32  width,
const quint32  height,
const quint32  topIn,
const quint32  bottomIn,
QVector< QRect > &  r_slices,
QRect &  r_inCoords 
)
static
void Pixmap3VTileObject::paint ( QPainter *  painter,
const QPointF &  targetOriginInPainterCS 
)
virtual

Reimplemented from PixmapObject.

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

Reimplemented from PixmapObject.

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

Reimplemented from PixmapObject.

bool Pixmap3VTileObject::retile ( const quint32  topIn,
const quint32  bottomIn,
PixmapVTilingStyle::Enum  centerTilingStyle = PixmapVTilingStyle::Scale,
PixmapVTilingStyle::Enum  sideTilingStyle = PixmapVTilingStyle::Scale 
)
virtual
bool Pixmap3VTileObject::retile ( const QVector< QRect > &  sliceCoordinates,
PixmapVTilingStyle::Enum  centerTilingStyle = PixmapVTilingStyle::Scale,
PixmapVTilingStyle::Enum  sideTilingStyle = PixmapVTilingStyle::Scale 
)
virtual
QSize Pixmap3VTileObject::size ( ) const
virtual

Reimplemented from PixmapObject.

QSizeF Pixmap3VTileObject::sizeF ( ) const
virtual

Reimplemented from PixmapObject.

int Pixmap3VTileObject::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 Pixmap3VTileObject::m_boundingRect
protected
PixmapVTilingStyle::Enum Pixmap3VTileObject::m_centerTilingStyle
protected
QSize Pixmap3VTileObject::m_destinationSizeRequested
protected
QVector<QRectF> Pixmap3VTileObject::m_destRects
protected
QRectF Pixmap3VTileObject::m_geom
protected
QRect Pixmap3VTileObject::m_inCoords
protected
QVector<QRect> Pixmap3VTileObject::m_sourceRects
protected

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