Decrease or increase the font size in a stacked-tree.
capi
stacked-tree-decrease-font-height stacked-tree &rest ignore
stacked-tree-increase-font-height stacked-tree &rest ignore
stacked-tree⇩ |
A stacked-tree. |
ignore⇩ |
Ignored extra arguments. |
The functions stacked-tree-increase-font-height
and stacked-tree-decrease-font-height
try to increase/decrease the point size of the font in stacked-tree. They add/subtract 1 from the size of the current font, and try to find a font with the new size. If this does not work, they add/subtract 2 and try again. If they find a new font, they set the font in stacked-tree to the new font. The heights of the rectangles are adjusted to fit the new font height.
stacked-tree-increase-font-height
and stacked-tree-decrease-font-height
are used by the Ctrl->
and Ctrl-<
gestures and you can use them to implement your gestures. The &rest ignore means that you can use these functions in the input-model directly.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27