diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-07-08 09:56:00 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-07-08 11:30:17 +0200 |
commit | 8b66982ec7b4b5d2071931c288973dce73dc9875 (patch) | |
tree | e59f98d20bf8f9dae0492caa866070b3f24c4d08 /doc/src/snippets/code/doc_src_qalgorithms.cpp | |
parent | 459dc4a3bf0dc0ac54fc558379fdf551949dd1c6 (diff) | |
download | qt4-tools-8b66982ec7b4b5d2071931c288973dce73dc9875.tar.gz |
Use more numerically robust algorithm to compute QBezier::pointAt().
QBezier::pointAt() could potentially return values outside the bezier's
bounds, even when the bezier was a straight horizontal line. For
example, with y = 0.5, it would produce y=0.5 or y=0.49999999999999 for
different values of t, which when rounded cause jittering in a QML
PathView.
Task-number: QTBUG-17007
Task-number: QTBUG-18133
Reviewed-by: Kim
Diffstat (limited to 'doc/src/snippets/code/doc_src_qalgorithms.cpp')
0 files changed, 0 insertions, 0 deletions