Given a line number, returns the graphic location of the line. Lines are numbered starting with 0.
The result is only valid when the editor is displayed (see Basic Organization). Calling this method may force the recalculation of location information, even if the editor currently has delayed refreshing (see refresh-delayed?).
See also paragraph-start-position, which operates on paragraphs (determined by explicit newline characters) instead of lines (determined by both explicit newline characters and automatic line-wrapping).
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.