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
QDeclarativePolygonMapItemPrivateCPU Class Reference

#include <qdeclarativepolygonmapitem_p_p.h>

+ Inheritance diagram for QDeclarativePolygonMapItemPrivateCPU:
+ Collaboration diagram for QDeclarativePolygonMapItemPrivateCPU:

Public Member Functions

 QDeclarativePolygonMapItemPrivateCPU (QDeclarativePolygonMapItem &polygon)
 
 ~QDeclarativePolygonMapItemPrivateCPU () override
 
void onLinePropertiesChanged () override
 
void markSourceDirtyAndUpdate () override
 
void regenerateCache ()
 
void updateCache ()
 
void afterViewportChanged () override
 
void onMapSet () override
 
void onGeoGeometryChanged () override
 
void onGeoGeometryUpdated () override
 
void onItemGeometryChanged () override
 
void updatePolish () override
 
QSGNodeupdateMapItemPaintNode (QSGNode *oldNode, QQuickItem::UpdatePaintNodeData *data) override
 
bool contains (const QPointF &point) const override
 
- Public Member Functions inherited from QDeclarativePolygonMapItemPrivate
 QDeclarativePolygonMapItemPrivate (QDeclarativePolygonMapItem &polygon)
 
virtual ~QDeclarativePolygonMapItemPrivate ()
 

Public Attributes

QList< QList< QDoubleVector2D > > m_geopathProjected
 
QGeoMapPolygonGeometry m_geometry
 
QQuickShapem_shape = nullptr
 
QQuickShapePathm_shapePath = nullptr
 
QDeclarativeGeoMapPainterPathm_painterPath = nullptr
 
- Public Attributes inherited from QDeclarativePolygonMapItemPrivate
QDeclarativePolygonMapItemm_poly
 

Detailed Description

Definition at line 88 of file qdeclarativepolygonmapitem_p_p.h.

Constructor & Destructor Documentation

◆ QDeclarativePolygonMapItemPrivateCPU()

QDeclarativePolygonMapItemPrivateCPU::QDeclarativePolygonMapItemPrivateCPU ( QDeclarativePolygonMapItem & polygon)

Definition at line 293 of file qdeclarativepolygonmapitem.cpp.

References QQuickShape::data, QQuickShape::FillContains, m_painterPath, QDeclarativePolygonMapItemPrivate::m_poly, m_shape, m_shapePath, QQuickPath::pathElements, QQuickShape::setContainsMode(), QObject::setObjectName(), and QQuickItem::setZ().

+ Here is the call graph for this function:

◆ ~QDeclarativePolygonMapItemPrivateCPU()

QDeclarativePolygonMapItemPrivateCPU::~QDeclarativePolygonMapItemPrivateCPU ( )
override

Definition at line 311 of file qdeclarativepolygonmapitem.cpp.

References m_shape.

Member Function Documentation

◆ afterViewportChanged()

void QDeclarativePolygonMapItemPrivateCPU::afterViewportChanged ( )
inlineoverridevirtual

◆ contains()

bool QDeclarativePolygonMapItemPrivateCPU::contains ( const QPointF & point) const
overridevirtual

Implements QDeclarativePolygonMapItemPrivate.

Definition at line 368 of file qdeclarativepolygonmapitem.cpp.

References QQuickShape::contains(), QDeclarativePolygonMapItemPrivate::m_poly, m_shape, and QQuickItem::mapToItem().

+ Here is the call graph for this function:

◆ markSourceDirtyAndUpdate()

void QDeclarativePolygonMapItemPrivateCPU::markSourceDirtyAndUpdate ( )
inlineoverridevirtual

◆ onGeoGeometryChanged()

void QDeclarativePolygonMapItemPrivateCPU::onGeoGeometryChanged ( )
inlineoverridevirtual

◆ onGeoGeometryUpdated()

void QDeclarativePolygonMapItemPrivateCPU::onGeoGeometryUpdated ( )
inlineoverridevirtual

◆ onItemGeometryChanged()

void QDeclarativePolygonMapItemPrivateCPU::onItemGeometryChanged ( )
inlineoverridevirtual

◆ onLinePropertiesChanged()

void QDeclarativePolygonMapItemPrivateCPU::onLinePropertiesChanged ( )
inlineoverridevirtual

◆ onMapSet()

void QDeclarativePolygonMapItemPrivateCPU::onMapSet ( )
inlineoverridevirtual

◆ regenerateCache()

void QDeclarativePolygonMapItemPrivateCPU::regenerateCache ( )
inline

Definition at line 104 of file qdeclarativepolygonmapitem_p_p.h.

References QDeclarativeGeoMapItemUtils::ClosedPath, QLocation::Globe, QDeclarativeGeoMapItemUtils::greaterCirclePath(), i, and QGeoProjection::ProjectionWebMercator.

+ Here is the call graph for this function:

◆ updateCache()

void QDeclarativePolygonMapItemPrivateCPU::updateCache ( )
inline

◆ updateMapItemPaintNode()

QSGNode * QDeclarativePolygonMapItemPrivateCPU::updateMapItemPaintNode ( QSGNode * oldNode,
QQuickItem::UpdatePaintNodeData * data )
overridevirtual

Implements QDeclarativePolygonMapItemPrivate.

Definition at line 357 of file qdeclarativepolygonmapitem.cpp.

References QGeoMapItemGeometry::isScreenDirty(), m_geometry, QGeoMapItemGeometry::markClean(), and Q_UNUSED.

+ Here is the call graph for this function:

◆ updatePolish()

void QDeclarativePolygonMapItemPrivateCPU::updatePolish ( )
overridevirtual

Implements QDeclarativePolygonMapItemPrivate.

Definition at line 316 of file qdeclarativepolygonmapitem.cpp.

References QColor::alpha(), QGeoMapItemGeometry::clear(), QDeclarativePolygonMapItem::color, QDeclarativeMapLineProperties::color, QGeoMapPolygonGeometry::Duplicate, QLocation::Globe, QList< T >::length(), QDeclarativePolygonMapItem::m_border, m_geometry, m_geopathProjected, QDeclarativePolygonMapItem::m_geopoly, m_painterPath, QDeclarativePolygonMapItemPrivate::m_poly, m_shape, m_shapePath, QDeclarativePolygonMapItem::m_updatingGeometry, map, QDeclarativeGeoMapItemBase::map(), QGeoMapPolygonGeometry::maxCoord(), QGeoMapItemGeometry::origin(), QGeoPolygon::perimeter, QDeclarativeGeoMapItemBase::referenceSurface, QQuickShapePath::setFillColor(), QQuickItem::setHeight(), QQuickItem::setOpacity(), QDeclarativeGeoMapPainterPath::setPath(), QDeclarativeGeoMapItemBase::setPositionOnMap(), QDeclarativeGeoMapItemBase::setShapeTriangulationScale(), QQuickItem::setSize(), QQuickShapePath::setStrokeColor(), QQuickShapePath::setStrokeWidth(), QQuickItem::setVisible(), QQuickItem::setWidth(), QQuickItem::size(), QGeoMapItemGeometry::sourceBoundingBox(), QGeoMapPolygonGeometry::srcPath(), QPainterPath::translate(), Qt::transparent, QGeoMapPolygonGeometry::updateSourcePoints(), QDeclarativeMapLineProperties::width, QGeoMapPolygonGeometry::WrapAround, and QDeclarativeGeoMapItemBase::zoomLevelOpacity().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_geometry

QGeoMapPolygonGeometry QDeclarativePolygonMapItemPrivateCPU::m_geometry

Definition at line 181 of file qdeclarativepolygonmapitem_p_p.h.

Referenced by updateMapItemPaintNode(), and updatePolish().

◆ m_geopathProjected

QList<QList<QDoubleVector2D> > QDeclarativePolygonMapItemPrivateCPU::m_geopathProjected

Definition at line 180 of file qdeclarativepolygonmapitem_p_p.h.

Referenced by updatePolish().

◆ m_painterPath

QDeclarativeGeoMapPainterPath* QDeclarativePolygonMapItemPrivateCPU::m_painterPath = nullptr

◆ m_shape

QQuickShape* QDeclarativePolygonMapItemPrivateCPU::m_shape = nullptr

◆ m_shapePath

QQuickShapePath* QDeclarativePolygonMapItemPrivateCPU::m_shapePath = nullptr

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