Commit b50aa539 authored by Andrew den Exter's avatar Andrew den Exter Committed by Qt by Nokia
Browse files

Reduce memory usage of QQuickPath for simple paths.


For a single segment line path we can get correct results by
interpolating across just two points, so there no need to allocate
the comparatively large point cache required for more complex paths.

This also correct a normally small interpolation error caused by
including the terminal point in the number of intervals.

Change-Id: I564c3c012b6822831251276951603fca8544a356
Reviewed-by: default avatarMichael Brasser <michael.brasser@nokia.com>
parent a0adcc64
No related merge requests found
Showing with 62 additions and 11 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment