![]() |
Qt 6.x
The Qt SDK
|
#include <qdeclarativepolylinemapitem_p_p.h>
Public Member Functions | |
void | updateSourcePoints (const QGeoMap &map, const QList< QDoubleVector2D > &basePath) |
QPainterPath | srcPath () const |
![]() | |
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 |
![]() | |
bool | m_dataChanged = false |
Additional Inherited Members | |
![]() | |
static QList< QGeoCoordinate > | path (const QGeoRectangle &rect) |
static QList< QGeoCoordinate > | perimeter (const QGeoRectangle &rect) |
static QList< QDoubleVector2D > | pathMercator (const QList< QGeoCoordinate > &p) |
![]() | |
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().
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().
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().