Hello all.
Qt 4.1.0 is able to display svg-graphics. There is an example included: "Qt\4.1.0\examples\painting\svgviewer". I am trying to change this program a little bit.
This viewer can load svg-graphics. With the help of the mousewheel it is possible to zoom. Scrollbars will appear, if the zoomed picture is to big.
My Problem: I want to write a function which enables me to point with the mouse on any position on the picture and the absolute/real position ON THE PICTURE ist returned. QMouseEvent:os() and QMouseEvent::globalPos() only return the relative position of the pointer in the window.
How can I get the absolute position?
Thanks for any answers, Hagen
PS: sorry for my probably bad english
Bookmarks