%HI_SetZoom function


Function
The function sets ZOOM and Layer according to zoom from the scrip.
Declaration
 %HI_SetZoom(
   REAL in _scale,
   INT in _x,
   INT in _y
 )

Parameters
scale Zoom out / zoom in toward the drawing ratio 1:1.
x X co-ordinate of the required zoom centre.
y Y co-ordinate of the required zoom centre.

Note 1
ZOOM  is adjusted according to visibility of the close-up view from Picture and the area out of Picture will not be displayed.
Setting the parameters -1, -1, the actual co-ordinates of Picture centre will be unchanged.
Note 2
This function is available also in %HIX_ version.
Napíšte komentár