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

Function _junction

SLiCAP/schematic/export.py:211–216  ·  view source on GitHub ↗
(parent, item, fill, radius)

Source from the content-addressed store, hash-verified

209
210
211def _junction(parent, item, fill, radius):
212 el = ET.SubElement(parent, f"{{{_SVG_NS}}}circle")
213 el.set("cx", f"{item.pos().x():.2f}")
214 el.set("cy", f"{item.pos().y():.2f}")
215 el.set("r", f"{radius:.2f}")
216 el.set("fill", fill)
217
218
219def _border_rect(parent, item):

Callers 1

_build_svgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected