Converts the given coordinates from top-level view coordinates (usually canvas coordinates) to buffer location coordinates. The same calculation is performed by dc-location-to-buffer-location.
The result is only valid when the buffer is viewed (see Basic Organization).
The x box is filled with the translated x-coordiante of the value initially in x, unless x is null. The y box is filled with the translated x-coordiante of the value initially in y, unless y is null.