- Game Programming using Qt 5 Beginner's Guide
- Pavel Strakhov Witold Wysota Lorenz Haas
- 61字
- 2021-08-27 18:31:02
Have a go hero – Applying multiple transformations
To understand the concept of transformations and their origin point, try to apply rotate() and scale() to an item. Also, change the point of origin and see how the item will react. As a second step, use QTransform in conjunction with setTransform() to apply multiple transformations to an item in a specific order.