Converts the given coordinates from buffer location coordinates to view coordinates (usually canvas coordinates).
The x box is filled with the tramnslated x-coordiante of the value initially in x, unless x is null. The y box is filled with the tramnslated x-coordiante of the value initially in y, unless y is null.