Given a line number, returns the graphic location of the line.
If top? is not #f, the location for the top of the line is returned; otherwise, the the location for the bottom of the line is returned.
Only valid when the buffer is viewed.