The horizontal scale of a stacked-tree.
capi
stacked-tree-width-ratio stacked-tree => width-ratio
setf (stacked-tree-width-ratio stacked-tree) width-ratio => width-ratio
stacked-tree⇩ |
A stacked-tree. |
width-ratio⇩ |
A non-negative real. |
width-ratio⇩ |
A non-negative real. |
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.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27