CGlue(3U) | InterViews Reference Manual | CGlue(3U) |
CGlue - connector glue
#include <Unidraw/cglue.h>
CGlue defines a natural size, elasticity (its rate of stretching and shrinking relative to other CGlue), and deformation limits (total amount it can stretch and shrink) in both the horizontal and vertical dimensions. CGlue can be interposed between two connected connectors to augment their connectivity semantics; it acts like two non-linear springs, one horizontal and one vertical, connecting the connectors' centers.
hnat, vnat: horizontal and vertical natural sizes, screen units
hshr, vshr: horizontal and vertical shrinking rate, constant units
hstr, vstr: horizontal and vertical stretching rate, constant units
hshrlim, vshrlim: horizontal and vertical shrink limit, screen units
hstrlim, vstrlim: horizontal and vertical stretch limit, screen units
Connector(3U), Shape(3I)
23 November 1990 | Unidraw |