Returns the scale and new dimentions of a rectangular area that fills the contents of a parent area.