22 #ifndef PIXMAPHUGEOBJECT_H_
23 #define PIXMAPHUGEOBJECT_H_
66 PixmapHugeObject (
const QString & fileName,
const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor );
67 PixmapHugeObject (
const QList<QString>& fileNames,
const QSize& fileLayout,
const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor );
73 virtual bool valid()
const;
75 virtual QSize
size()
const;
76 virtual int width()
const;
77 virtual int height()
const;
78 virtual QSizeF
sizeF()
const;
79 virtual quint64
sizeOf()
const;
92 virtual void paint(QPainter * painter);
93 virtual void paint(QPainter * painter,
const QPointF& targetOriginInPainterCS);
94 virtual void paint(QPainter * painter,
const QRectF& targetRectInPainterCS);
95 virtual void paint(QPainter * painter,
const QRect& targetRectInPainterCS,
96 const QRect& sourceRect);
105 QVector<FragmentedPaintCoordinate>
paintCoordinates(
const QRect& rectInAbsolutePainterCS);
107 virtual QPixmap *
pixAt(
const quint32 index)
const;
111 virtual operator QPixmap*()
const;
112 virtual QPixmap*
data()
const;
118 static QSize
pixmapToArraySize(
const QSize& pixmapSize,
const QSize& maxSinglePixmapSize);
121 static QSize
pixmapToArraySize(
const QSize& pixmapSize,
const QSize& maxSinglePixmapSize,QSize& r_rightAndBottomEdgeSizes);
123 void dbg_save(
const QString& baseName);
131 virtual void allocatePixmaps(
const QSize& arraySize,
const QSize& normalSize,
const QSize& leftoverSize);