GetRectFromExtent

Returns a rect with the min point at the origin and the max point at Extent.