MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / pin_scene_pos

Method pin_scene_pos

SLiCAP/schematic/component_item.py:698–703  ·  view source on GitHub ↗

World positions of all pins, in PIN_POSITIONS order.

(self)

Source from the content-addressed store, hash-verified

696 return path
697
698 def pin_scene_pos(self) -> list[QPointF]:
699 """World positions of all pins, in PIN_POSITIONS order."""
700 return [
701 self.mapToScene(QPointF(lx, ly))
702 for lx, ly in PIN_POSITIONS.get(self.symbol_name, [])
703 ]
704
705 def reload_svg(self, svg_bytes: bytes) -> None:
706 """Swap this instance's artwork for a freshly loaded symbol definition.

Callers 8

_rubber_band_wiresMethod · 0.95
_find_junction_pointsFunction · 0.80
_interior_tapMethod · 0.80
_refresh_pin_markersMethod · 0.80
mousePressEventMethod · 0.80
mouseMoveEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected