convert UiKit To CGPOINT