DOKK / manpages / debian 10 / alliance / defab.3.en
DEFAB(3) MBK PHYSICAL FUNCTIONS DEFAB(3)

defab - defines the abutment box of a phfig

See the file buster/alliance/alc_origin.1.en.gz.

#include "mph.h"
void defab(ptfig, x1, y1, x2, y2)
phfig_list ∗ptfig;
long x1, x2, y1, y2;

Pointer to a phfig
Coordinates of the abutment box

defab redefines the abutment box of the figure pointed to by ptfig. It overwrite any existing value in the XAB1, YAB1, XAB2 and YAB2 by the given arguments.

#include "mph.h"
void add_half_rules(fig)
phfig_list ∗fig;
{
	defab(fig, fig->XAB1 + HALF_RULE, fig->YAB1 + HALF_RULE,
		fig->XAB2 + HALF_RULE, fig->YAB2 + HALF_RULE);
}

mbk(1), phfig(3).

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6