diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-04-17 13:19:22 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-04-18 14:15:29 +0000 |
commit | 75869bc717f1e0e1dbd0302d4ea81f671b9f2279 (patch) | |
tree | 63f0354503a5dac97ce6a9678fef91fcb67b2847 | |
parent | 1933e377b6ce0e9f715b5eecc04e86ef76007a8a (diff) | |
download | qtlocation-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.h | 4 |
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); } |