diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-02-15 18:55:25 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-18 18:07:23 +0100 |
commit | f63b23afdac47bbf71a7b72fdd965c55b2f60602 (patch) | |
tree | 57dc37a6a9ef7bc687099f3682d8814cd46010d9 /src/gui | |
parent | 1703558330454d0a9d2e71ecd60d99bb7f2b79b7 (diff) |
QEasingCurve: return QVector for cubic spline representation
QEasingCurve internally holds the spline data in a
QVector<QPointF>. For the return from cubicBezierSpline(),
the vector is transformed into a QList<QPointF>.
This involves copying, and into an inefficient (for QPointF
payloads) container at that, so deprecate cubicBezierSpline()
in favour of a new toCubicSpline() returning the QVector
directly.
Change-Id: Ie4827fe7c6e289ad97a0b09772e47298779c76ca
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions