Manual Reference Pages - ADDPHCON (3)
[Include document man1/alc_contents.mac]
addphcon - create a physical connector
[Include document man1/alc_origin.1]
phcon_list *addphcon(ptfig, orient, conname, x, y, layer, width)
long x, y;
Pointer to the figure in which the connector should be added
Face of the connector
Name of the connector
Absolute connector coordinates
Connector symbolic layer
Connector symbolic width
addphcon creates a new connector called conname and adds it to the
list of connectors pointed to by ptfig->PHCON. The new connector is
added in front of the list, and becomes itself the list head.
The parameters conname, orient, x, y, layer,
width fill respectivly the NAME, ORIENT, XCON,
YCON, LAYER, WIDTH fields of the phcon structure.
See phcon(3) for details.
The INDEX field is computed by the addphcon function in order to
warranty index unicity. A topological sort is performed, checking x,
then y, then the layer. So for a given figure, each connector will
have a constant INDEX.
The x, y coordinates must be placed inside the butment box
of the figure.
The width is a layer extension that takes place in parallel to the
For a list of valid orient and layers, see
addphcon returns a pointer to the newly created connector.
"*** mbk error *** illegal addphcon unknow layer layer in conname"
The layer parameter is out of range, and does not represent a legal
symbolic layer. See locon(3) for a complete list of layers.
"*** mbk error *** illegal addphcon connector conname not in
The connector coordinates are not included in the rectangle of the figure
abutment box. This means that the abutment box field of the
phfig must be filled befor any call to addphcon.
"*** mbk error *** illegal addphcon orientation is orient in
The orient parameter is not in the set of legal values. See
locon(3) for the complete list of orientations.
phcon_list *du_con(ptfig, ptcon) /* duplicate connector */
/* the index depends from whats in ptfig->PHCON, not from me */
return addphcon(ptfig, ptcon->ORIENT, ptcon->NAME,
[Include document man1/alc_bug_report.1]
|ASIM/LIP6 ||ADDPHCON (3) ||October 1, 1997 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.