To draw shapes and transform it using Graphics on iOS