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

hiZoomExpandAtPoint

hiZoomExpandAtPoint( 
w_window
f_zoomFactor
l_point
)
=> t / nil

Description

Zooms out the image by keeping the mirror image point of l_point at the same location

Arguments

w_window

Specifies the window that contains the image to be zoomed out, usually the current window

f_zoomFactor

Specifies the zoom factor.

l_point

Specifies the point with respect to which you want to zoom the image

Value Returned

t

If the image is successfully zoomed out

nil

If the image is not zoomed out

Examples

This example can be used as a bindkey definition to zoom out an image by two times by expanding the window in the direction of the mouse relative to the center of the window.

hiZoomExpandAtPoint(hiGetCurrentWindow() 0.5 hiGetPoint(hiGetCurrentWindow()) 

Related Topics

Viewing Functions


Return to top
 ⠀
X