Provided by: ivtools-dev_1.2.11a1-2_amd64

**NAME**

CGlue - connector glue

**SYNOPSIS**

#include<Unidraw/cglue.h>

**DESCRIPTION**

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.

**PUBLIC** **OPERATIONS**

CGlue(floathnat=0,floatvnat=0,floathshr=0,floathstr=0,floatvshr=0,floatvstr=0,floathshrlim=0,floathstrlim=0,floatvshrlim=0,floatvstrlim=0)CGlue(constShape&)Instantiate CGlue, providing the requisite parameters explicitly or inferring them from a Shape object. If a shape is supplied, then the CGlue adopts the shape's natural size, and it assigns the shape's stretchability and shrinkability values to its corresponding CGlue elasticity members to obtain a proportionately equivalent elasticity. It also assigns the shape's stretchability and shrinkability values to its deformation limit members. The parameters are described below:hnat,vnat: horizontal and vertical natural sizes, screen unitshshr,vshr: horizontal and vertical shrinking rate, constant unitshstr,vstr: horizontal and vertical stretching rate, constant unitshshrlim,vshrlim: horizontal and vertical shrink limit, screen unitshstrlim,vstrlim: horizontal and vertical stretch limit, screen unitsCGlue*Copy()Create a copy of this CGlue instance.voidRigid()Set all elasticity and deformation limits equal to zero.voidInterpose(constCGlue*glue)Change this instance's attributes to reflect the series combination ofthisandglue.

**SEE** **ALSO**

Connector(3U), Shape(3I)