MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / _pt_key

Function _pt_key

SLiCAP/schematic/junction_item.py:10–11  ·  view source on GitHub ↗
(pt: QPointF)

Source from the content-addressed store, hash-verified

8
9
10def _pt_key(pt: QPointF) -> tuple:
11 return (round(pt.x()), round(pt.y()))
12
13
14class JunctionItem(QGraphicsEllipseItem):

Callers 1

_rubber_band_wiresMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected