def rotate(self, center, angle):
     with PostponeCurveGeometricUpdatingToEnd(self):
         Graphic.rotate(self, center, angle)
         for element in self.elements:
             element.rotate(center, angle)
Beispiel #2
0
 def rotate(self, center, angle):
     with PostponeGeometricUpdatingToEnd(self):
         self.coords = rotate(self.coords, ORIGIN, angle)
         Graphic.rotate(self, center, angle)