仿射变换
演示QPainter 中仿射变换的工作原理。
可以对使用QPainter 绘制的任何图形进行变换。用于显示矢量图形、图像和文本的变换可以通过以下方式进行调整:
- 拖动每个图形中心的红圈,可将其移动到新的位置。
- 拖动移动的红圈可使当前图形围绕中心圆旋转。旋转也可以通过Rotate 滑块控制。
- 缩放可通过Scale 滑块控制。
- 每幅图都可以通过Shear 滑块进行剪切。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.