Drawing function, rotate designed figure, rotation