[Qt-interest] How to multiply a QTransform by float without affecting the scale?
Luiz Geovani Vier
lgvier at gmail.com
Wed Jan 12 04:02:51 CET 2011
Hello all,
So I have a QTransform containing rotation and translation.
I'd like to animate a transformation by multiplying the old matrix by 1.0 -
[0..1] and new matrix by [0..1]. (btw, Is there a better way to do that?)
However, when I multiply QTransform by a float, that also affects the
scaling (e.g. * 0.1 = very tiny item :-)
How should I be handling this so that only rotation and translation is
applied?
Thanks,
-Geovani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110112/db9b87e1/attachment.html
More information about the Qt-interest-old
mailing list