16#ifndef QGSMAPCANVASMAP_H
17#define QGSMAPCANVASMAP_H
40 void setContent(
const QImage &image,
const QgsRectangle &rect );
42 QImage contentImage()
const {
return mImage; }
44 void paint( QPainter *painter )
override;
46 void addPreviewImage(
const QImage &image,
const QgsRectangle &rect );
54 QList<QPair<QImage, QgsRectangle>> mPreviewImages;
An abstract class for items that can be placed on the map canvas.
QRectF boundingRect() const override
virtual void paint(QPainter *painter)=0
function to be implemented by derived classes
Map canvas is a class for displaying all GIS data types on a canvas.
The QgsMapSettings class contains configuration for rendering of the map.
A rectangle specified with double values.