(points: list[QPointF])
| 62 | |
| 63 | |
| 64 | def _build_path(points: list[QPointF]) -> QPainterPath: |
| 65 | if len(points) < 2: |
| 66 | return QPainterPath() |
| 67 | path = QPainterPath(points[0]) |
| 68 | for pt in points[1:]: |
| 69 | path.lineTo(pt) |
| 70 | return path |
| 71 | |
| 72 | |
| 73 | def _elbow(p1: QPointF, p2: QPointF, h_first: bool) -> list[QPointF]: |
no outgoing calls
no test coverage detected