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

Method apply_transform

SLiCAP/schematic/component_item.py:544–549  ·  view source on GitHub ↗

Apply h_flip / v_flip to the item and counter-transform all labels.

(self)

Source from the content-addressed store, hash-verified

542 )
543
544 def apply_transform(self) -> None:
545 """Apply h_flip / v_flip to the item and counter-transform all labels."""
546 self.setTransform(self._flip_transform())
547 ct = self._flip_transform()
548 for lbl in self._labels.values():
549 lbl.setTransform(ct)
550
551 # ── property helpers ──────────────────────────────────────────────────────
552

Callers 5

from_dataMethod · 0.95
applyMethod · 0.80
applyMethod · 0.80
_commit_pasteMethod · 0.80
keyPressEventMethod · 0.80

Calls 1

_flip_transformMethod · 0.95

Tested by

no test coverage detected