Reset graphics state from rotation mode.
(self, view, p)
| 4715 | self.view.context.rotate(self.angle, center=(px+self.rx, py+self.ry)) |
| 4716 | |
| 4717 | def _restoreRotation(self, view, p): |
| 4718 | """Reset graphics state from rotation mode.""" |
| 4719 | if self.angle: |
| 4720 | px, py, _ = point3D(p) |
| 4721 | self.view.context.rotate(-self.angle, center=(px+self.rx, py+self.ry)) |
| 4722 | |
| 4723 | def _applyScale(self, view, p): |
| 4724 | """Internal method to apply the scale, if both *self.scaleX* and |