18 #ifndef QGSCOMPOSERSHAPE_H
19 #define QGSCOMPOSERSHAPE_H
48 void paint( QPainter* painter,
const QStyleOptionGraphicsItem* itemStyle, QWidget* pWidget );
54 bool writeXML( QDomElement& elem, QDomDocument & doc )
const;
60 bool readXML(
const QDomElement& itemElem,
const QDomDocument& doc );
67 void setCornerRadius(
double radius );
81 void setUseSymbolV2(
bool useSymbolV2 );
109 void drawShape( QPainter* p );
112 void drawShapeUsingSymbol( QPainter* p );
115 void createDefaultShapeStyleSymbol();
118 QPointF pointOnLineWithDistance(
const QPointF& startPoint,
const QPointF& directionPoint,
double distance )
const;
121 #endif // QGSCOMPOSERSHAPEITEM_H