Gets the Y range for a line based on mode.
The value for y is relative to the renderers widget coordinates.
| this | |
| line |
a line number starting from zero |
| mode | |
| y |
a location for the Y position in widget coordinates |
| height |
the line height based on |