Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qml, anchors and rotating
if i have the rettangle on the left, how does it become if i rotate it about -90°? as the rettangle on the right?
[EDIT: fixed image link, Volker]
DenisKormalev last edited by
Item rorates clockwise around transformOrigin. So -90 will be 90 degrees counterclockwise
0k. what about the image? is it correct so?
Erik Verbruggen last edited by
Yes, scaling is ignored. Note that positioning will (also) depend on the transformOrigin.
no, it is not scaling, but rotating...