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

hiZoomRelativeScale

hiZoomRelativeScale(
[ w_window ] 
[ n_scale ] 
) 
=> t / nil 

Description

Zooms in or out with a scale relative to the current window.

This function is not available in Concept SKILL. For more information, see Design Entry HDL–SKILL Routines.

Arguments

w_window

The window ID. If not specified, the current window is used.

Note: w_window cannot be a session window or a dockable window.

n_scale

Scale factor you want to use in zooming. A number greater than 1.0 specifies a zoom-in factor. A number less than 1.0 specifies a zoom-out factor. The center of the original window is the center of the new window. If n_scale is not specified, a scale of 1.0 is used.

Values Returned

t

You can zoom in and out.

nil

zoomPanProc or uPointToDbuProc are not registered on the window.

Related Topics

Viewing Functions

hiZoomIn

hiZoomOut

hiZoomAbsoluteScale

hiZoomWindowAtPoint

hiZoomWindowAtMouse

hiZoomInAtMouse

hiZoomOutAtMouse

hiRegZoomPanProc

hiUnregZoomPanProc


Return to top
 ⠀
X