Calculate the y intercept based on some slope and point.
(slope: number, point: Point)
| 97 | |
| 98 | /** Calculate the y intercept based on some slope and point. */ |
| 99 | function getYIntercept(slope: number, point: Point) { |
| 100 | return point.y - slope * point.x; |
| 101 | } |
| 102 | |
| 103 | /** Dispatch a mouseout event. */ |
| 104 | function mouseout(mouseOutOf: HTMLElement) { |
no outgoing calls
no test coverage detected