![]() |
Qt 6.x
The Qt SDK
|
#include <qdeclarativepolylinemapitem_p_p.h>
Inheritance diagram for QGeoMapPolylineGeometry:
Collaboration diagram for QGeoMapPolylineGeometry:Public Member Functions | |
| void | updateSourcePoints (const QGeoMap &map, const QList< QDoubleVector2D > &basePath) |
| QPainterPath | srcPath () const |
Public Member Functions inherited from QGeoMapItemGeometry | |
| QGeoMapItemGeometry () | |
| virtual | ~QGeoMapItemGeometry () |
| bool | isSourceDirty () const |
| bool | isScreenDirty () const |
| void | markSourceDirty () |
| void | markScreenDirty () |
| void | markFullScreenDirty () |
| void | markClean () |
| void | clearScreen () |
| QGeoCoordinate | geoLeftBound () |
| QRectF | sourceBoundingBox () const |
| QRectF | screenBoundingBox () const |
| void | clearBounds () |
| QPointF | firstPointOffset () const |
| const QGeoCoordinate & | origin () const |
| QPainterPath | screenOutline () const |
| virtual bool | contains (const QPointF &screenPoint) const |
| QVector2D | vertex (quint32 index) const |
| QList< QPointF > | vertices () const |
| QList< quint32 > | indices () const |
| bool | isIndexed () const |
| quint32 | size () const |
| void | clear () |
Public Attributes | |
| QPainterPath | srcPath_ |
| qreal | maxCoord_ = 0.0 |
Public Attributes inherited from QGeoMapItemGeometry | |
| bool | m_dataChanged = false |
Additional Inherited Members | |
Static Public Member Functions inherited from QGeoMapItemGeometry | |
| static QList< QGeoCoordinate > | path (const QGeoRectangle &rect) |
| static QList< QGeoCoordinate > | perimeter (const QGeoRectangle &rect) |
| static QList< QDoubleVector2D > | pathMercator (const QList< QGeoCoordinate > &p) |
Protected Attributes inherited from QGeoMapItemGeometry | |
| bool | sourceDirty_ = true |
| bool | screenDirty_ = true |
| bool | clipToViewport_ = true |
| bool | preserveGeometry_ = false |
| QGeoCoordinate | geoLeftBound_ |
| QPointF | firstPointOffset_ |
| QPainterPath | screenOutline_ |
| QRectF | sourceBounds_ |
| QRectF | screenBounds_ |
| QGeoCoordinate | srcOrigin_ |
| QList< QPointF > | screenVertices_ |
| QList< quint32 > | screenIndices_ |
Definition at line 34 of file qdeclarativepolylinemapitem_p_p.h.
|
inline |
Definition at line 39 of file qdeclarativepolylinemapitem_p_p.h.
References srcPath_.
Referenced by QDeclarativePolylineMapItemPrivateCPU::updatePolish().
Here is the caller graph for this function:| void QGeoMapPolylineGeometry::updateSourcePoints | ( | const QGeoMap & | map, |
| const QList< QDoubleVector2D > & | basePath | ||
| ) |
Definition at line 304 of file qdeclarativepolylinemapitem.cpp.
References QRectF::adjusted(), QVarLengthArray< T, Prealloc >::append(), QList< T >::append(), QPainterPath::boundingRect(), QDeclarativeGeoMapItemUtils::boundingRectangleFromList(), clipLine(), e, QVarLengthArray< T, Prealloc >::first(), i, QRectF::intersects(), QVarLengthArray< T, Prealloc >::isEmpty(), QList< T >::isEmpty(), QVarLengthArray< T, Prealloc >::last(), QRectF::left(), QPainterPath::lineTo(), map, maxCoord_, QPainterPath::moveTo(), QGeoMapItemGeometry::origin(), qMax(), QList< T >::reserve(), QList< T >::size(), QGeoMapItemGeometry::sourceBounds_, QGeoMapItemGeometry::sourceDirty_, QGeoMapItemGeometry::srcOrigin_, srcPath_, QRectF::top(), QDoubleVector2D::toPointF(), QRectF::translated(), QDoubleVector2D::x(), and QDoubleVector2D::y().
Referenced by QDeclarativePolylineMapItemPrivateCPU::updatePolish().
Here is the call graph for this function:
Here is the caller graph for this function:| qreal QGeoMapPolylineGeometry::maxCoord_ = 0.0 |
Definition at line 42 of file qdeclarativepolylinemapitem_p_p.h.
Referenced by QDeclarativePolylineMapItemPrivateCPU::updatePolish(), and updateSourcePoints().
| QPainterPath QGeoMapPolylineGeometry::srcPath_ |
Definition at line 41 of file qdeclarativepolylinemapitem_p_p.h.
Referenced by QDeclarativePolylineMapItemPrivateCPU::contains(), srcPath(), and updateSourcePoints().