18 #ifndef QGSSVGANNOTATIONITEM_H
19 #define QGSSVGANNOTATIONITEM_H
22 #include <QSvgRenderer>
31 void writeXML( QDomDocument& doc )
const;
32 void readXML(
const QDomDocument& doc,
const QDomElement& itemElem );
34 void paint( QPainter* painter );
36 void setFilePath(
const QString&
file );
44 #endif // QGSSVGANNOTATIONITEM_H
Map canvas is a class for displaying all GIS data types on a canvas.
QSvgRenderer mSvgRenderer
An annotation item can be either placed either on screen corrdinates or on map coordinates.
virtual void paint(QPainter *painter)=0
function to be implemented by derived classes
virtual void readXML(const QDomDocument &doc, const QDomElement &itemElem)=0
virtual void writeXML(QDomDocument &doc) const =0