Next: Boxes, Previous: Nets and buses, Up: Core object functions [Contents][Index]
Pin objects
are straight line segments which represent
connectable points in symbols or subcircuits, such as the pins of a
semiconductor package. Only one end of a pin can be connected to
nets, buses or other pins; the rest of a pin is purely graphical.
Pins come in two varieties: net pins and bus pins, which are used for connections to nets and buses respectively (see Nets and buses).
All of the functions that work on line object
s also work with
pins (see Lines). Note that line?
will return #f
if
called with a pin argument.
Returns ‘#t’ if and only if object is a pin object
.
Returns ‘#t’ if and only if object is a net pin.
Creates and returns a new net pin object
. start is the
position of the start of the new pin (the connectable end) in the form
(x . y)
and end is the position of end of the pin. If
color is specified, it should be the integer color map index of
the color with which to draw the pin. If color is not
specified, the default pin color is used.
Returns ‘#t’ if and only if object is a bus pin.
Creates and returns a new bus pin object
. Arguments are as for
make-net-pin
.
Next: Boxes, Previous: Nets and buses, Up: Core object functions [Contents][Index]