1DEFAB(3) MBK PHYSICAL FUNCTIONS DEFAB(3)
2
3
4
6 defab - defines the abutment box of a phfig
7
9 #include "mph.h"
10 void defab(ptfig, x1, y1, x2, y2)
11 phfig_list ∗ptfig;
12 long x1, x2, y1, y2;
13
15 ptfig Pointer to a phfig
16
17 x1, y1, x2, y2 Coordinates of the abutment box
18
20 defab redefines the abutment box of the figure pointed to by ptfig. It
21 overwrite any existing value in the XAB1, YAB1, XAB2 and YAB2 by the
22 given arguments.
23
25 #include "mph.h"
26 void add_half_rules(fig)
27 phfig_list ∗fig;
28 {
29 defab(fig, fig->XAB1 + HALF_RULE, fig->YAB1 + HALF_RULE,
30 fig->XAB2 + HALF_RULE, fig->YAB2 + HALF_RULE);
31 }
32
34 mbk(1), phfig(3).
35
36
37
38
39
40
41ASIM/LIP6 October 1, 1997 DEFAB(3)