Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

    Qml, anchors and rotating

    General and Desktop
    3
    5
    3871
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      spode last edited by

      if i have the rettangle on the left, how does it become if i rotate it about -90°? as the rettangle on the right?
      !http://img534.imageshack.us/img534/4960/immaginetud.png!
      http://imageshack.us/photo/my-images/534/immaginetud.png/()

      [EDIT: fixed image link, Volker]

      1 Reply Last reply Reply Quote 0
      • D
        DenisKormalev last edited by

        Item rorates clockwise around transformOrigin. So -90 will be 90 degrees counterclockwise

        1 Reply Last reply Reply Quote 0
        • S
          spode last edited by

          0k. what about the image? is it correct so?

          1 Reply Last reply Reply Quote 0
          • E
            Erik Verbruggen last edited by

            Yes, scaling is ignored. Note that positioning will (also) depend on the transformOrigin.

            1 Reply Last reply Reply Quote 0
            • S
              spode last edited by

              no, it is not scaling, but rotating...

              1 Reply Last reply Reply Quote 0
              • First post
                Last post