Turn figure over 90-degrees or 180-degrees, convert data for new state