(fraction)
| 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) |
| 135 | |
| 136 | def scale_to_height(fraction): |
| 137 | return int(fraction * window.height/DEFAULT_WINDOW_HEIGHT) |
no outgoing calls
no test coverage detected