Mapping from window coordinates into world coordinates.