how about viewportToContents() ?
viewportToContent: "Translates a point (vx, vy) on the viewport() widget to a point (x, y) in the contents."Originally Posted by munna
How does it help me... I don't know the point on the canvas to set focus to...
Its this way that i am shown a part of the canvas.. now when i zoom the canvas, the part of the canvas which i was viewing before should be the one which i am viewing just that it is zoomed....
i should be nearby the same coordinate set where i was earlier...
but right now it just gets lost...
thank you,
with regards,
Kapil
All you have to decide is what to do with the time that is given to you
Bookmarks