float DeviceToLogicalX(int x)
Convert device X coordinate to logical coordinate, using the current mapping mode.