defab

DEFAB(3)                    MBK PHYSICAL FUNCTIONS                    DEFAB(3)



NAME
       defab - defines the abutment box of a phfig


ORIGIN
       This software belongs to the  ALLIANCE CAD SYSTEM developed by the ASIM
       team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris,
       France.

       Web : http://asim.lip6.fr/recherche/alliance/
       E-mail : alliance-users@asim.lip6.fr


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

PARAMETERS
       ptfig               Pointer to a phfig

       x1, y1, x2, y2      Coordinates of the abutment box

DESCRIPTION
       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.

EXAMPLE
       #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);
       }

SEE ALSO
       mbk(1), phfig(3).




BUG REPORT
       This tool is under development at the ASIM department of the LIP6
       laboratory.
       We need your feedback to improve documentation and tools.






ASIM/LIP6                       October 1, 1997                       DEFAB(3)