QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
#include "qgsarrowsymbollayer.h"
Go to the source code of this file.
Functions | |
QPointF | circlePoint (const QPointF ¢er, qreal radius, qreal angle) |
qreal | clampAngle (qreal a) |
QPolygonF | curvedArrow (QPointF po, QPointF pm, QPointF pd, qreal startWidth, qreal width, qreal headWidth, qreal headHeight, QgsArrowSymbolLayer::HeadType headType, QgsArrowSymbolLayer::ArrowType arrowType, qreal offset) |
qreal | euclidian_distance (const QPointF &po, const QPointF &pd) |
void | pathArcTo (QPainterPath &path, const QPointF &circleCenter, qreal circleRadius, qreal angle_o, qreal angle_d, int direction) |
bool | pointsToCircle (const QPointF &a, const QPointF &b, const QPointF &c, QPointF ¢er, qreal &radius) |
Compute the circumscribed circle from three points. More... | |
void | spiralArcTo (QPainterPath &path, const QPointF ¢er, qreal startAngle, qreal startRadius, qreal endAngle, qreal endRadius, int direction) |
QPolygonF | straightArrow (QPointF po, QPointF pd, qreal startWidth, qreal width, qreal headWidth, qreal headHeight, QgsArrowSymbolLayer::HeadType headType, QgsArrowSymbolLayer::ArrowType arrowType, qreal offset) |
Definition at line 388 of file qgsarrowsymbollayer.cpp.
|
inline |
Definition at line 333 of file qgsarrowsymbollayer.cpp.
QPolygonF curvedArrow | ( | QPointF | po, |
QPointF | pm, | ||
QPointF | pd, | ||
qreal | startWidth, | ||
qreal | width, | ||
qreal | headWidth, | ||
qreal | headHeight, | ||
QgsArrowSymbolLayer::HeadType | headType, | ||
QgsArrowSymbolLayer::ArrowType | arrowType, | ||
qreal | offset | ||
) |
Definition at line 462 of file qgsarrowsymbollayer.cpp.
Definition at line 203 of file qgsarrowsymbollayer.cpp.
void pathArcTo | ( | QPainterPath & | path, |
const QPointF & | circleCenter, | ||
qreal | circleRadius, | ||
qreal | angle_o, | ||
qreal | angle_d, | ||
int | direction | ||
) |
Definition at line 394 of file qgsarrowsymbollayer.cpp.
bool pointsToCircle | ( | const QPointF & | a, |
const QPointF & | b, | ||
const QPointF & | c, | ||
QPointF & | center, | ||
qreal & | radius | ||
) |
Compute the circumscribed circle from three points.
Definition at line 346 of file qgsarrowsymbollayer.cpp.
void spiralArcTo | ( | QPainterPath & | path, |
const QPointF & | center, | ||
qreal | startAngle, | ||
qreal | startRadius, | ||
qreal | endAngle, | ||
qreal | endRadius, | ||
int | direction | ||
) |
Definition at line 414 of file qgsarrowsymbollayer.cpp.
QPolygonF straightArrow | ( | QPointF | po, |
QPointF | pd, | ||
qreal | startWidth, | ||
qreal | width, | ||
qreal | headWidth, | ||
qreal | headHeight, | ||
QgsArrowSymbolLayer::HeadType | headType, | ||
QgsArrowSymbolLayer::ArrowType | arrowType, | ||
qreal | offset | ||
) |
Definition at line 208 of file qgsarrowsymbollayer.cpp.