16 #ifndef QGSMAPCANVASMAP_H
17 #define QGSMAPCANVASMAP_H
19 #include <QGraphicsRectItem>
38 void resize( QSize
size );
49 void setPanningOffset(
const QPoint& point );
51 QPaintDevice& paintDevice();
53 void paint( QPainter* p,
const QStyleOptionGraphicsItem*, QWidget* );
55 QRectF boundingRect()
const;
59 void updateContents();
bool mUseQImageToRender
Whether to use a QPixmap or a QImage for the rendering.
A non GUI class for rendering a map layer set onto a QPainter.
Map canvas is a class for displaying all GIS data types on a canvas.
A rectangular graphics item representing the map on the canvas.
void setBackgroundColor(const QColor &color)
bool mAntiAliasing
indicates whether antialiasing will be used for rendering
void enableAntiAliasing(bool flag)
void useImageToRender(bool flag)