float DeviceToLogicalY(int y)
Converts device Y coordinate to logical coordinate, using the current mapping mode.