summaryrefslogtreecommitdiffstats
path: root/dist/changes-5.5.0
diff options
context:
space:
mode:
authorWolfgang Bremer <wolfgang@w-bremer.de>2015-05-11 02:41:58 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-06-01 05:30:53 +0000
commita2af44354014d1f3d10727a7381fb5273917ae1f (patch)
tree55f75ad5953de37a61a889439306c9360fa23cee /dist/changes-5.5.0
parentf49cff62775b6699a6a2edcdcfe0c9f6b3ecc7d2 (diff)
Improve Polyline MapItem
The old implementation used polygons added to a QPainterPath for the screenBounds and the "contains" area calculation on each screen update and thus had a huge performance impact when using more complex polyline map items with several hundred points. The new implementation only calculates the screenBounds on each screen update. However, the contains check uses a similar logic to the previous QPainterPath approach but is way more performant. This is achieved by testing only parts of the polyline and not the whole QPainterPath at once. Change-Id: Ia332343f40ff865079fc86f0241a3f46a650162d Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'dist/changes-5.5.0')
0 files changed, 0 insertions, 0 deletions