MCPcopy Create free account
hub / github.com/brain-workshop/brainworkshop / from_top_edge

Function from_top_edge

brainworkshop.py:121–122  ·  view source on GitHub ↗
(from_edge)

Source from the content-addressed store, hash-verified

119 return int(window.height/2)
120
121def from_top_edge(from_edge):
122 return int(window.height - (from_edge * window.height/DEFAULT_WINDOW_HEIGHT))
123
124def from_bottom_edge(from_edge):
125 return int(from_edge * (window.height/DEFAULT_WINDOW_HEIGHT))

Callers 12

create_batchMethod · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
updateMethod · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected