Changed Point2f to structure