(self)
| 97 | self.redraw() |
| 98 | |
| 99 | def redraw(self): |
| 100 | sc = self.canvas |
| 101 | sc.delete(self._ALL) |
| 102 | width = sc.winfo_width() |
| 103 | height =sc.winfo_height() |
| 104 | sc.create_rectangle([[0,0],[width,height]], |
| 105 | fill = self.bgcolor, tag = self._ALL) |
| 106 | viewport = (self.pad,self.pad,width-self.pad,height-self.pad) |
| 107 | self.T = transformer(self.world,viewport) |
| 108 | self.paintgrafics() |
| 109 | |
| 110 | def paintgrafics(self): |
| 111 | start = -pi/2 |
no test coverage detected