add rotation to the complete piece for the contour drawing