16 #ifndef QGSMAPCANVASMAP_H 
   17 #define QGSMAPCANVASMAP_H 
   42     void setContent( 
const QImage &image, 
const QgsRectangle &rect );
 
   45     QImage contentImage()
 const { 
return mImage; }
 
   47     void paint( QPainter *painter ) 
override;
 
   49     void addPreviewImage( 
const QImage &image, 
const QgsRectangle &rect );
 
   58     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.