Next: component
Up: Object types
Previous: bus
  Contents
Valid in: Symbol files ONLY
type x1 y1 x2 y2 color pintype whichend
Field |
Type/unit |
Description |
type |
char |
P |
x1 |
int/mils |
First X coordinate |
y1 |
int/mils |
First Y coordinate |
x2 |
int/mils |
Second X coordinate |
y2 |
int/mils |
Second Y coordinate |
color |
int |
Color index |
pintype |
int |
Type of pin |
whichend |
int |
Specifies the active end |
- The pintype is an enumerated type:
- NORMAL_PIN = 0
- BUS_PIN = 1 unused
- The whichend specifies which end point of the pin is the active
connection port. Only this end point can have other pins or nets
connected to it.
- To make the first end point active, whichend should be 0, else to
specify the other end, whichend should be 1.
- Pins can only appear in symbol files.
- You cannot have a zero length pen (the tools will throw them away).
Example:
P 0 200 200 200 1 0 0
A pin from (0, 200) to (200, 200) with color index 1, a regular pin, and the
first point being the active connection end.
Next: component
Up: Object types
Previous: bus
  Contents
Ales V. Hvezda
2003-09-01