diff options
author | Paolo Angelelli <paolo.angelelli.qt@gmail.com> | 2019-12-18 21:33:57 +0100 |
---|---|---|
committer | paolo <paolo.angelelli.qt@gmail.com> | 2020-02-03 14:59:54 +0100 |
commit | 964a1bb8532249f82d4d647bd496d77ccb5e240f (patch) | |
tree | df0d138fbe1e7758b8b5c52d1a35faa5f19a0919 /src/location/labs/qsg/qqsgmapobject_p.h | |
parent | fc8ca2cccd684e69131907151b2beb678afdff1d (diff) | |
download | qtlocation-964a1bb8532249f82d4d647bd496d77ccb5e240f.tar.gz |
Fix QGeoPolygon translate not updating clipper cache
Problem resulting in failure when calling the contains() method.
This patch caches the leftbound that is used in many other
methods.
This patch also fixes the copy constructor, now correctly
converting rectangles and circles into polygons.
Tests are added in a subsequent patch.
[ChangeLog][QtPositioning][QGeoPolygon] Fixed contains method.
Change-Id: I324e5a6e9bf981f830a8bb88e5f2abedb5ece5dd
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/labs/qsg/qqsgmapobject_p.h')
0 files changed, 0 insertions, 0 deletions