Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QGeoMapPolylineGeometry Struct Reference

#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 QGeoCoordinateorigin () const
 
QPainterPath screenOutline () const
 
virtual bool contains (const QPointF &screenPoint) const
 
QVector2D vertex (quint32 index) const
 
QList< QPointFvertices () const
 
QList< quint32indices () 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< QGeoCoordinatepath (const QGeoRectangle &rect)
 
static QList< QGeoCoordinateperimeter (const QGeoRectangle &rect)
 
static QList< QDoubleVector2DpathMercator (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< QPointFscreenVertices_
 
QList< quint32screenIndices_
 

Detailed Description

Definition at line 34 of file qdeclarativepolylinemapitem_p_p.h.

Member Function Documentation

◆ srcPath()

QPainterPath QGeoMapPolylineGeometry::srcPath ( ) const
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:

◆ updateSourcePoints()

void QGeoMapPolylineGeometry::updateSourcePoints ( const QGeoMap & map,
const QList< QDoubleVector2D > & basePath )

Definition at line 304 of file qdeclarativepolylinemapitem.cpp.

References QRectF::adjusted(), QPainterPath::boundingRect(), QDeclarativeGeoMapItemUtils::boundingRectangleFromList(), clipLine(), i, QPainterPath::lineTo(), map, maxCoord_, QPainterPath::moveTo(), QGeoMapItemGeometry::origin(), qMax(), QGeoMapItemGeometry::sourceBounds_, QGeoMapItemGeometry::sourceDirty_, QGeoMapItemGeometry::srcOrigin_, srcPath_, 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:

Member Data Documentation

◆ maxCoord_

qreal QGeoMapPolylineGeometry::maxCoord_ = 0.0

◆ srcPath_

QPainterPath QGeoMapPolylineGeometry::srcPath_

The documentation for this struct was generated from the following files: