33#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
34inline uint qHash(
const TileIndex &key, uint seed)
36inline size_t qHash(
const TileIndex &key,
size_t seed)
39 return qHash(key.x, seed) ^ key.y;
71 const QRect& bounds()
const {
return mTileBounds; }
83 const int UNIFORM_TILE_SIZE = 64;
void drawPath(QPainterPath path, QPen pen, QBrush brush, QPainter::CompositionMode cm, bool antialiasing)
Draws a path with the specified parameters to the tiled buffer.
void clear()
Clears the content of the tiled buffer.
bool isValid() const
Returns true if there are any tiles, otherwise false.
void drawImage(const QImage &image, const QRect &imageBounds, QPainter::CompositionMode cm, bool antialiasing)
Draws a image with the specified parameters to the tiled buffer.
void drawBrush(QPointF point, qreal brushWidth, QPen pen, QBrush brush, QPainter::CompositionMode cm, bool antialiasing)
Draws a brush with the specified parameters to the tiled buffer.
bool isEmpty() const const
QObject * parent() const const