hiZoomWindowAtPoint
hiZoomWindowAtPoint(
w_window
f_scale
l_point
)
=> t / nil
Description
Zooms in or out of a window, keeping the point you specify at its current location in the window.
This function supports zooming with the scrollwheel on a mouse.
Arguments
|
w_window
|
The window you want to zoom in to.
Note: w_window cannot be a session window or a dockable window.
|
|
f_scale
|
Scale factor you want to use for zooming. A number greater than 1.0 specifies a zoom-in factor. A number less than 1.0 specifies a zoom-out factor.
|
|
l_point
|
The point which you want to keep in its current location while zooming in or out. Specify l_point in user units.
|
Value Returned
|
t
|
Zoomed in or out of the window.
|
|
nil
|
zoomPanProc or uPointToDbuProc are not registered on the window.
|
Example
hiZoomWindowAtPoint(window ( 3 ) 2.0 list( 0.18 0.81 ) )
or
hiZoomWindowAtPoint(window ( 3 ) 0.5 list( 0.18 0.81 ) )
Related Topics
Viewing Functions
hiZoomWindowAtMouse
hiZoomInAtMouse
hiZoomOutAtMouse
hiZoomIn
hiZoomOut
hiZoomRelativeScale
hiZoomAbsoluteScale
Return to top