Returns the graphic locaiton of a given position.
The result is only valid when the buffer is viewed (see Basic Organization). Calling this method may force the recalculation of location information, even if the buffer currently has delayed refreshing (see refresh-delayed?).
The x box is filled with the x-location of the position start in buffer coordinates, unless x is null. The y box is filled with the y-location (top or bottom; see below) of the position start in buffer coordinates, unless y is null.
See End of Line for a discussion of at-eol?.
If front? is not #f, the top coordinate of the location is returned, otherwise the bottom coordinate of the location is returned.
The top y location may be different for different positions within a line when different-sized graphic objects are used. If whole-line? is not #f, the minimum top location or maximum bottom location for the whole line is returned in y.