Hacc
07-27-2005, 01:28 AM
Hi
I was wondering if anybody has a "zoom and center" function? I'm trying to simulate the Ctrlkey action, but using a button. The problem is not the zoom but the centering of the object... What is the best way to do it? Using viewbox or currenttranslate and currentscale?
Any suggestions would be appreciated!
Thanks!
I was wondering if anybody has a "zoom and center" function? I'm trying to simulate the Ctrlkey action, but using a button. The problem is not the zoom but the centering of the object... What is the best way to do it? Using viewbox or currenttranslate and currentscale?
Any suggestions would be appreciated!
Thanks!