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

Method __init__

SLiCAP/schematic/component_item.py:445–448  ·  view source on GitHub ↗
(self, svg_bytes: bytes)

Source from the content-addressed store, hash-verified

443 """
444
445 def __init__(self, svg_bytes: bytes):
446 super().__init__()
447 self._renderer = QSvgRenderer(QByteArray(_apply_symbol_colors(svg_bytes)))
448 self.setSharedRenderer(self._renderer)
449
450 def boundingRect(self):
451 return self._renderer.viewBoxF()

Callers

nothing calls this directly

Calls 2

_apply_symbol_colorsFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected