(from_edge)
| 128 | return int(window.width - (from_edge * window.width/DEFAULT_WINDOW_WIDTH)) |
| 129 | |
| 130 | def from_left_edge(from_edge): |
| 131 | return int(from_edge * window.width/DEFAULT_WINDOW_WIDTH) |
| 132 | |
| 133 | def scale_to_width(fraction): |
| 134 | return int(fraction * window.width/DEFAULT_WINDOW_WIDTH) |
no outgoing calls
no test coverage detected