PDA

View Full Version : What is meant by logical cordinates and physical cordinates in GraphicsViewFramework?



keshav2010
23rd January 2018, 15:19
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 :crying:

high_flyer
23rd January 2018, 15:24
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.

keshav2010
23rd January 2018, 16:21
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.