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

#include <qdeclarativerectanglemapitem_p_p.h>

+ Inheritance diagram for QDeclarativeRectangleMapItemPrivateCPU:
+ Collaboration diagram for QDeclarativeRectangleMapItemPrivateCPU:

Public Member Functions

 QDeclarativeRectangleMapItemPrivateCPU (QDeclarativeRectangleMapItem &rect)
 
 ~QDeclarativeRectangleMapItemPrivateCPU () override
 
void onLinePropertiesChanged () override
 
void markSourceDirtyAndUpdate () override
 
void onMapSet () override
 
void onGeoGeometryChanged () override
 
void onItemGeometryChanged () override
 
void afterViewportChanged () override
 
void updatePolish () override
 
QSGNodeupdateMapItemPaintNode (QSGNode *oldNode, QQuickItem::UpdatePaintNodeData *data) override
 
bool contains (const QPointF &point) const override
 
- Public Member Functions inherited from QDeclarativeRectangleMapItemPrivate
 QDeclarativeRectangleMapItemPrivate (QDeclarativeRectangleMapItem &rect)
 
virtual ~QDeclarativeRectangleMapItemPrivate ()
 

Public Attributes

QGeoMapPolygonGeometry m_geometry
 
QQuickShapem_shape = nullptr
 
QQuickShapePathm_shapePath = nullptr
 
QDeclarativeGeoMapPainterPathm_painterPath = nullptr
 
- Public Attributes inherited from QDeclarativeRectangleMapItemPrivate
QDeclarativeRectangleMapItemm_rect
 

Detailed Description

Definition at line 49 of file qdeclarativerectanglemapitem_p_p.h.

Constructor & Destructor Documentation

◆ QDeclarativeRectangleMapItemPrivateCPU()

QDeclarativeRectangleMapItemPrivateCPU::QDeclarativeRectangleMapItemPrivateCPU ( QDeclarativeRectangleMapItem & rect)

Definition at line 325 of file qdeclarativerectanglemapitem.cpp.

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

+ Here is the call graph for this function:

◆ ~QDeclarativeRectangleMapItemPrivateCPU()

QDeclarativeRectangleMapItemPrivateCPU::~QDeclarativeRectangleMapItemPrivateCPU ( )
override

Definition at line 343 of file qdeclarativerectanglemapitem.cpp.

References m_shape.

Member Function Documentation

◆ afterViewportChanged()

void QDeclarativeRectangleMapItemPrivateCPU::afterViewportChanged ( )
inlineoverridevirtual

◆ contains()

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

Implements QDeclarativeRectangleMapItemPrivate.

Definition at line 406 of file qdeclarativerectanglemapitem.cpp.

References QQuickShape::contains(), QDeclarativeRectangleMapItemPrivate::m_rect, m_shape, and QQuickItem::mapToItem().

+ Here is the call graph for this function:

◆ markSourceDirtyAndUpdate()

void QDeclarativeRectangleMapItemPrivateCPU::markSourceDirtyAndUpdate ( )
inlineoverridevirtual

◆ onGeoGeometryChanged()

void QDeclarativeRectangleMapItemPrivateCPU::onGeoGeometryChanged ( )
inlineoverridevirtual

◆ onItemGeometryChanged()

void QDeclarativeRectangleMapItemPrivateCPU::onItemGeometryChanged ( )
inlineoverridevirtual

◆ onLinePropertiesChanged()

void QDeclarativeRectangleMapItemPrivateCPU::onLinePropertiesChanged ( )
inlineoverridevirtual

◆ onMapSet()

void QDeclarativeRectangleMapItemPrivateCPU::onMapSet ( )
inlineoverridevirtual

◆ updateMapItemPaintNode()

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

Implements QDeclarativeRectangleMapItemPrivate.

Definition at line 395 of file qdeclarativerectanglemapitem.cpp.

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

+ Here is the call graph for this function:

◆ updatePolish()

void QDeclarativeRectangleMapItemPrivateCPU::updatePolish ( )
overridevirtual

Implements QDeclarativeRectangleMapItemPrivate.

Definition at line 348 of file qdeclarativerectanglemapitem.cpp.

References QColor::alpha(), QDeclarativeRectangleMapItem::bottomRight, QGeoMapItemGeometry::clear(), QDeclarativeGeoMapItemUtils::ClosedPath, QDeclarativeMapLineProperties::color, QDeclarativeRectangleMapItem::color, QGeoMapPolygonGeometry::Duplicate, QLocation::Globe, QDeclarativeGeoMapItemUtils::greaterCirclePath(), QGeoCoordinate::isValid, m_geometry, m_painterPath, QDeclarativeRectangleMapItemPrivate::m_rect, m_shape, m_shapePath, QDeclarativeGeoMapItemBase::map(), QGeoMapPolygonGeometry::maxCoord(), QGeoMapItemGeometry::origin(), QGeoMapItemGeometry::path(), QGeoMapItemGeometry::pathMercator(), 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(), QDeclarativeRectangleMapItem::topLeft, 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 QDeclarativeRectangleMapItemPrivateCPU::m_geometry

Definition at line 85 of file qdeclarativerectanglemapitem_p_p.h.

Referenced by updateMapItemPaintNode(), and updatePolish().

◆ m_painterPath

QDeclarativeGeoMapPainterPath* QDeclarativeRectangleMapItemPrivateCPU::m_painterPath = nullptr

◆ m_shape

QQuickShape* QDeclarativeRectangleMapItemPrivateCPU::m_shape = nullptr

◆ m_shapePath

QQuickShapePath* QDeclarativeRectangleMapItemPrivateCPU::m_shapePath = nullptr

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