[Qt-interest] Rotate problem

Enrico Ros enrico.qt at email.it
Mon May 4 09:35:09 CEST 2009


Hello Sujan,
 by using 'setTransform' you SET the transformation matrix. if you want to add 
transforms (like rotations), either:

 - accumulate the rotation in a local variable (newRotation = oldRot + 
newAngle; setTransform(QTransform.rotate(newRotation)...));

 - or just use "setTransform( ......., TRUE );"

In the second case you're applying the new transformation over the existing.
Enrico

 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Conto Arancio, Zero spese, soldi sempre disponibili. Aprilo in due minuti!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9041&d=4-5



More information about the Qt-interest-old mailing list