(self)
| 75 | self.redraw() |
| 76 | |
| 77 | def redraw(self): |
| 78 | sc = self.canvas |
| 79 | sc.delete(self._ALL) |
| 80 | width = sc.winfo_width() |
| 81 | height =sc.winfo_height() |
| 82 | sc.create_rectangle([[0,0],[width,height]], |
| 83 | fill = self.bgcolor, tag = self._ALL) |
| 84 | viewport = (self.pad,self.pad,width-self.pad,height-self.pad) |
| 85 | self.T = transformer(self.world,viewport) |
| 86 | self.paintgrafics() |
| 87 | |
| 88 | def paintgrafics(self): |
| 89 | start = -pi/2 |
no test coverage detected