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

Method image_height

SLiCAP/schematic/image_dialog.py:153–156  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

151 return 200
152
153 def image_height(self) -> int:
154 if self._natural_h:
155 return max(1, round(self._natural_h * self._scale_spin.value() / 100))
156 return 200

Callers 2

_on_place_imageMethod · 0.95
mouseDoubleClickEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected