All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

stacked-tree-width-ratio Accessor

Summary

The horizontal scale of a stacked-tree.

Package

capi

Signature

stacked-tree-width-ratio stacked-tree => width-ratio

setf (stacked-tree-width-ratio stacked-tree) width-ratio => width-ratio

Arguments
stacked-tree
width-ratio
A non-negative real.
Values
width-ratio
A non-negative real.
Description

The accessor stacked-tree-width-ratio accesses the width-ratio of stacked-tree, which is the ratio between the width of the root rectangle now and when the root was set.

The default action of the Ctrl-r gesture is effectively the same as setting stacked-tree-width-ratio to 1 and scrolling to the top left.

Note that width-ratio is not affected by changes in the width of the stacked-tree after the root has been set.

See also

stacked-tree
stacked-tree-zoom-by-factor


CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:33:57