hiDynamicPanInteractive
hiDynamicPanInteractive( [w_window] [ n_scope ] [g_noAnimation{ t | nil } ] ) =>t / nil
Description
Pans a design continuously when you place the cursor near the edge of a graphics window. You can control the speed at which the design is panned by varying the distance between the cursor and the edge of the window—the closer the cursor is to the edge of the window, the faster the speed.
You can also use an anchor box to pan the design instead of moving the cursor on the window edges. Click the left mouse button on the window to display the anchor box. You can then move the cursor along the edges of the anchor box to pan the design. The distance between the cursor and the anchor box determines the speed.
To exit the panning mode, press the Esc key or any other key, or select any command in your graphics application.
If you create your own graphics windows, you need to register a displayProc callback for the window for this function to work.
On UNIX platforms, your window setting should be "Point in Window to Make Active" instead of "Click in Window to Make Active" for this function to work correctly. You can set this from the style manager on your machine. This setting is not required when you use this function with a bindkey.
Arguments
Values Returned
Examples
hiDynamicPanInteractive( hiGetCurrentWindow() 1.2 )
Related Topics
Return to top