16 #ifndef QGSMAPCANVASMAP_H
17 #define QGSMAPCANVASMAP_H
19 #include <QGraphicsRectItem>
44 void setContent(
const QImage& image,
const QgsRectangle& rect );
49 virtual void paint( QPainter * painter );
55 Q_DECL_DEPRECATED
void resize( QSize
size ) { Q_UNUSED( size ); }
70 Q_DECL_DEPRECATED QPaintDevice& paintDevice();
Q_DECL_DEPRECATED void render()
A rectangle specified with double values.
Q_DECL_DEPRECATED void setBackgroundColor(const QColor &color)
An abstract class for items that can be placed on the map canvas.
Q_DECL_DEPRECATED void updateContents()
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 rectangular graphics item representing the map on the canvas.
virtual void paint(QPainter *painter)=0
function to be implemented by derived classes
QImage contentImage() const
Q_DECL_DEPRECATED void setPanningOffset(const QPoint &point)
Q_DECL_DEPRECATED void resize(QSize size)
Q_DECL_DEPRECATED void enableAntiAliasing(bool flag)
Q_DECL_DEPRECATED void refresh()