8 /*! \brief arrows are used to indicate partially hidden ends of xlinks and
9 also the ends of xlinks.
12 /////////////////////////////////////////////////////////////////////////////
14 class ArrowObj : public MapObj {
16 enum OrnamentStyle { None, HeadFull, Foot };
17 ArrowObj(MapObj *parent);
20 void setPen(QPen pen);
22 void setArrowSize(qreal r);
24 void setFixedLength(int i);
26 void setUseFixedLength(bool b);
27 bool getUseFixedLength();
30 void setVisibility(bool b);
31 void setEndPoint(QPointF p);
32 QPointF getEndPoint();
33 void setStyleBegin(OrnamentStyle os);
34 void setStyleBegin(const QString &s);
35 OrnamentStyle getStyleBegin();
36 void setStyleEnd(const QString &s);
37 void setStyleEnd(OrnamentStyle os);
38 OrnamentStyle getStyleEnd();
39 static QString styleToString(const OrnamentStyle &os);
42 QPolygonF getArrowHead();
47 QGraphicsPolygonItem *arrowEnd;
48 QGraphicsPolygonItem *arrowBegin;
49 QGraphicsLineItem *line;
52 OrnamentStyle styleBegin;
53 OrnamentStyle styleEnd;