Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

hiZoomWindowAtMouse

hiZoomWindowAtMouse(
w_window
f_scale
)
=> t / nil

Description

Zooms in or out of a window, keeping the point beneath the mouse 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.

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.

Values Returned

t

Zoomed in or out of the window.

nil

zoomPanProc or uPointToDbuProc are not registered on the window.

Related Topics

Related Topics

Viewing Functions

hiZoomWindowAtPoint

hiZoomInAtMouse

hiZoomOutAtMouse

hiZoomIn

hiZoomOut

hiZoomRelativeScale

hiZoomAbsoluteScale

hiRegZoomPanProc

hiUnregZoomPanProc


Return to top
 ⠀
X