One way to rotate a figure