(line: number)
| 100 | |
| 101 | /** Top edge of a 1-based file line, in the scrolling document's coordinates. */ |
| 102 | export function lineTop(line: number): number { |
| 103 | return CODE_TOP_PAD + (line - 1) * CODE_LINE_HEIGHT; |
| 104 | } |
| 105 | |
| 106 | /** Vertical centre of a line — what an arc, a port and a connector all anchor to. */ |
| 107 | export function lineCentre(line: number): number { |
no outgoing calls
no test coverage detected