From http://stackoverflow.com/questions/16573016/cgpoints-of-a-uiview