Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Unclear Map Definitions
QtWS25 Last Chance

Unclear Map Definitions

Scheduled Pinned Locked Moved Solved Game Development
qgraphicsitemqgraphicsscene
2 Posts 2 Posters 1.2k Views
  • 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.
  • W Offline
    W Offline
    Walux
    wrote on 23 Jun 2016, 16:41 last edited by Walux
    #1

    Hi Qt community ,

    I just found the documentation definitions of :
    -mapfrom/toscene
    -mapfrom/toparent
    -mapfromItem and maptoItem
    -mapRectFrom/ToItem
    kind of unclear , and i thought maybe i'll understand more if someone would volunteer to show me the difference between these , and especially between (from and to)

    I'll be grateful for any help.
    Nice regards ,

    Taking things from beginning to end : That's my entertainment !

    J 1 Reply Last reply 23 Jun 2016, 20:21
    0
    • W Walux
      23 Jun 2016, 16:41

      Hi Qt community ,

      I just found the documentation definitions of :
      -mapfrom/toscene
      -mapfrom/toparent
      -mapfromItem and maptoItem
      -mapRectFrom/ToItem
      kind of unclear , and i thought maybe i'll understand more if someone would volunteer to show me the difference between these , and especially between (from and to)

      I'll be grateful for any help.
      Nice regards ,

      J Offline
      J Offline
      Joel Bodenmann
      wrote on 23 Jun 2016, 20:21 last edited by
      #2

      I'd recommend reading this article which explains everything fairly well: Coordinate System

      As the article explains, each graphics item maintains it's own coordinate system. The methods you are referring to are used to translate coordinates between those items, between the items and the scene and so on.
      I hope that reading that article will help, otherwise feel free to ask if clarification is needed.

      Industrial process automation software: https://simulton.com
      Embedded Graphics & GUI library: https://ugfx.io

      1 Reply Last reply
      1

      2/2

      23 Jun 2016, 20:21

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved