Expand description
The pin vocabulary the geometry layer draws in: the document’s pin entity and its value enums, plus the derived readings the drawing and hit-test paths take off a pin’s registers.
Structs§
Enums§
- PinDir
- PinSide
- Which block edge a pin occupies.
Westis the zero: every auto-placed port starts there.
Functions§
- flipped_
dir - The opposite sense, used when a pin is rendered as a port.
InOuthas no sense, so it is unchanged. - orientation
- Which way a pin’s port body faces when the pin is drawn as its own
boundary port.
flip_lrreadsfalseas “opposite the edge the pin occupies”, so the interior stub points inward, andtrueas “frozen to face that edge”. Use this, neverslot’s side, for every port-view drawing, hit test, and route anchor. - slot
- The slot a pin occupies on its owner’s boundary — the edge and the index, read as one atomic value.