Convert device Y coordinate to relative logical coordinate, using the current mapping mode. Use this function for converting a height, for example.