Converts the given coordinates from top-level view coordinates (usually canvas coordinates) to buffer location coordinates. The same calculation is performed by global-to-local.
The result is only valid when the buffer is viewed (see Basic Organization).
Returns the equivalent of x and y translated from DC coordinates to buffer drawing coordinates.