|
NAMEaddphcon - create a physical connector See the file man1/alc_origin.1. SYNOPSIS#include "mph.h" phcon_list ∗addphcon(ptfig, orient, conname, x, y, layer, width) phfig_list ∗ptfig; char orient; char ∗conname; long x, y; char layer; long width; PARAMETERSDESCRIPTIONaddphcon 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.
RETURN VALUEaddphcon returns a pointer to the newly created connector. ERRORS"∗∗∗ mbk error ∗∗∗ illegal addphcon unknown 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 abutment box"
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
conname"
The orient parameter is not in the set of legal
values. See locon(3) for the complete list of orientations.
EXAMPLE
#include "mph.h"
phcon_list ∗du_con(ptfig, ptcon) /∗ duplicate connector ∗/
phfig_list ∗ptfig;
phcon_list ∗ptcon;
{
SEE ALSOmbk(1), phfig(3), phcon(3), getphcon(3), delphcon(3), locon(3). See the file man1/alc_bug_report.1.
|