summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-04-17 13:19:22 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-04-18 14:15:29 +0000
commit75869bc717f1e0e1dbd0302d4ea81f671b9f2279 (patch)
tree63f0354503a5dac97ce6a9678fef91fcb67b2847
parent1933e377b6ce0e9f715b5eecc04e86ef76007a8a (diff)
downloadqtlocation-75869bc717f1e0e1dbd0302d4ea81f671b9f2279.tar.gz
Add accessor for screenOutline in QGeoMapItemGeometry
Change-Id: I4e48d8e8b5c75bec620e7bdab3666a2f5c4e357e Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r--src/location/declarativemaps/qgeomapitemgeometry_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/location/declarativemaps/qgeomapitemgeometry_p.h b/src/location/declarativemaps/qgeomapitemgeometry_p.h
index 5149a7c0..1011cd0c 100644
--- a/src/location/declarativemaps/qgeomapitemgeometry_p.h
+++ b/src/location/declarativemaps/qgeomapitemgeometry_p.h
@@ -91,6 +91,10 @@ public:
inline const QGeoCoordinate &origin() const { return srcOrigin_; }
+ QPainterPath screenOutline() const {
+ return screenOutline_;
+ }
+
inline bool contains(const QPointF &screenPoint) const {
return screenOutline_.contains(screenPoint);
}