summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qgeomapitemgeometry_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/declarativemaps/qgeomapitemgeometry_p.h')
-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);
}