http://www.qtcentre.org/attachment.p...7&d=1312224010
For about a week I spent to figure out rules to get right combination of translate and axis rotation to build a tranform object to set to painter in the following way
Code:
QTransform trans; trans.translate(1000, 500); trans.rotate(25, Qt::XAxis); trans.rotate(-10, Qt::ZAxis); pp.setTransform(trans); p.save("room.jpg")
Does anybody can recommend the rules how to get definitelly that turn I want, no matter how crazy it is?
If life is a fairy tale I WOULD want to get a utily like this http://zrusin.blogspot.com/2006/09/p...ormations.html to understand these rools but I just can't find any information about my problem, I mean deep understanding of combination for QTransform.