Closed 3800: refactoring cc.Point and cc.Size to support two types of parameters.

refactoring cc.Point and cc.Size to support two types of parameters.