Renaming and adding various functions: now we have getVisible2dAreaDimensions,
and scaleUpToDimensions