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

hiUseMagnifierResolution

hiUseMagnifierResolution(
w_window
g_use
)
=> t / nil

Description

Alters the movement of the cursor within the canvas.

As a use model, it takes a larger mouse motion to move between objects under the magnifier, compared to when those same objects are not currently magnified in the canvas.

Therefore, when turned on, hiUseMagnifierResolution makes the mouse movement in the canvas behave as if the mouse is in the magnifier, thereby enabling fine resolution of mouse motion between geometries in the canvas.

Turning this feature on slows down the motion of the mouse in the canvas, as determined by the current scale factor in the magnifier.

This feature does not work correctly if you are using VNC, or any other thin client, due to bad, or non-existent, mouse-warping. The result of which leads to a drifting apart of the mouse and tracking cursors.

Arguments

w_window

The graphics window.

g_use

Use to set higher mouse movement precision.

To move the mouse cursor precisely by a single pixel, in the magnifier space of resolution, set g_use to t. To cancel this mode set g_use to nil.

Values Returned

t

Magnifier size has been successfully set use magnifier resolution settings.

nil

Action failed.

Related Topics

hiGetMagnifierSize

hiIsMagnifierAnchored

hiIsMagnifierOpened

hiResizeMagnifier

hiScaleMagnifier

hiToggleAnchorMagnifier

hiToggleMagnifier


Return to top
 ⠀
X