BionicWave
 
Germany
33 Posts |
Posted - Feb 18 2012 : 16:19:33
|
I looked at the online-help but could not find the right property for my problem.
When i zoom into a picture and move a selection, i want to adjust the ViewX and ViewY, so that the selection stays visible.
This is easy to do for SelX1 and ViewX, because i can calculate when selection is smaller then SelX1.
Now i would like to move the view to the right whenever the selection SelX2 is bigger than the visible window.
How can i calculate this? |
|