18 #ifndef QGSCOMPOSERSHAPE_H
19 #define QGSCOMPOSERSHAPE_H
46 void paint( QPainter* painter,
const QStyleOptionGraphicsItem* itemStyle, QWidget* pWidget );
52 bool writeXML( QDomElement& elem, QDomDocument & doc )
const;
58 bool readXML(
const QDomElement& itemElem,
const QDomDocument& doc );
85 void drawShape( QPainter* p );
89 QPointF pointOnLineWithDistance(
const QPointF& startPoint,
const QPointF& directionPoint,
double distance )
const;
92 #endif // QGSCOMPOSERSHAPEITEM_H