Transformaciones afines
Demuestra cómo funcionan las transformaciones afines en QPainter.

Las transformaciones pueden realizarse en cualquier tipo de gráficos dibujados utilizando QPainter. Las transformaciones utilizadas para mostrar los gráficos vectoriales, las imágenes y el texto pueden ajustarse de las siguientes maneras:
- Arrastrando el círculo rojo situado en el centro de cada dibujo, éste se desplaza a una nueva posición.
- Arrastrando el círculo rojo desplazado, el dibujo actual se gira alrededor del círculo central. La rotación también puede controlarse con el control deslizante Rotate.
- La escala se controla con el control deslizante Scale.
- Cada dibujo se puede recortar con el control deslizante Shear.
© 2026 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.