Qt-interest Archive, April 2008
Q3Canvas origin in screen coordinates.
Message 1 in thread
Hi out there,
I have a maybe dumb question, but I didn't find it in the Qt class doc and the web:
How can I compute the origin of a Q3Canvas (yes, I work on an older project
which still uses it. I can't change this since other people are involved) in screen
coordinates? I need it to do a transformation from screen- to canvas-coordinates.
My idea was to find out the canvas' current position on the screen either
directly (hopefully) by one of its member functions or by finding out how it is
positioned by its parent (an application window).
Would be great if someone could help me. - Many thanks in advance and sorry
for the question.
Best regards,
Peter.
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.