|
QGIS API Documentation 4.3.0-Master (4ecdf0f3f59)
|
#include "qgsarrowsymbollayer.h"#include <memory>#include "qgsfillsymbol.h"#include "qgsgeometryutils_base.h"#include "qgsrendercontext.h"#include "qgssymbollayerutils.h"#include "qgsunittypes.h"#include <QString>
Go to the source code of this file.
Functions | |
| QPointF | circlePoint (QPointF center, 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 | euclidean_distance (QPointF po, QPointF pd) |
| void | pathArcTo (QPainterPath &path, QPointF circleCenter, qreal circleRadius, qreal angle_o, qreal angle_d, int direction) |
| bool | pointsToCircle (QPointF a, QPointF b, QPointF c, QPointF ¢er, qreal &radius) |
| Compute the circumscribed circle from three points. | |
| void | spiralArcTo (QPainterPath &path, QPointF center, 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) |
| QPointF circlePoint | ( | QPointF | center, |
| qreal | radius, | ||
| qreal | angle ) |
Definition at line 448 of file qgsarrowsymbollayer.cpp.
|
inline |
Definition at line 393 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 522 of file qgsarrowsymbollayer.cpp.
|
inline |
Definition at line 263 of file qgsarrowsymbollayer.cpp.
| void pathArcTo | ( | QPainterPath & | path, |
| QPointF | circleCenter, | ||
| qreal | circleRadius, | ||
| qreal | angle_o, | ||
| qreal | angle_d, | ||
| int | direction ) |
Definition at line 454 of file qgsarrowsymbollayer.cpp.
| bool pointsToCircle | ( | QPointF | a, |
| QPointF | b, | ||
| QPointF | c, | ||
| QPointF & | center, | ||
| qreal & | radius ) |
Compute the circumscribed circle from three points.
false if the three points are colinear Definition at line 406 of file qgsarrowsymbollayer.cpp.
| void spiralArcTo | ( | QPainterPath & | path, |
| QPointF | center, | ||
| qreal | startAngle, | ||
| qreal | startRadius, | ||
| qreal | endAngle, | ||
| qreal | endRadius, | ||
| int | direction ) |
Definition at line 474 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 268 of file qgsarrowsymbollayer.cpp.