Results 1 to 3 of 3

Thread: What is meant by logical cordinates and physical cordinates in GraphicsViewFramework?

  1. #1
    Join Date
    Jan 2018
    Location
    India, Delhi
    Posts
    10
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default What is meant by logical cordinates and physical cordinates in GraphicsViewFramework?

    I've been reading about Qt's Graphics View Framework and often books use terms like "Logical coordinates" and "Physical Coordinates" , can anyone here please tell me exactly what is the difference between these two , just couldn't find anything relevant on this nor on Qt's official forum

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: What is meant by logical cordinates and physical cordinates in GraphicsViewFramew

    Its all explained in details in the documentation:
    http://doc.qt.io/qt-5/coordsys.html in the "Window-Viewport Conversion" section.

    If after reading this you still have specific questions, ask them here.
    I don't think anyone here can explain it better than it appears in this documentation.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. The following user says thank you to high_flyer for this useful post:

    keshav2010 (23rd January 2018)

  4. #3
    Join Date
    Jan 2018
    Location
    India, Delhi
    Posts
    10
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: What is meant by logical cordinates and physical cordinates in GraphicsViewFramew

    Thank you for referring to that documentation section, I now have an idea of exactly what it meant by logical and physical coordinates, basically from what i understood, logical coordinates is what we are specifying and they are being mapped onto the paintDevice coordinates or physical coordinates which might differ due to various possible transformation on paintDevice such as scaling, restricted Width and Height.

Similar Threads

  1. Replies: 3
    Last Post: 27th December 2013, 13:26
  2. How to get list of physical network interfaces?
    By hitmaneidos in forum Qt Programming
    Replies: 2
    Last Post: 2nd February 2012, 03:17
  3. Replies: 6
    Last Post: 3rd May 2011, 09:55
  4. OS/X how to get physical display handle
    By hvengel in forum Qt Programming
    Replies: 4
    Last Post: 3rd January 2009, 20:51
  5. Logical fonts?
    By sdfisher in forum Qt Programming
    Replies: 1
    Last Post: 1st March 2007, 14:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.