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 QPolygonF &visiblePolygon );
 
   54    QList<QPair<QImage, QPolygonF>> 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.
 
Contains configuration for rendering maps.
 
A rectangle specified with double values.