(self)
| 199 | ## Redraws the whole clock. |
| 200 | # |
| 201 | def redraw(self): |
| 202 | start = pi/2 # 12h is at pi/2 |
| 203 | step = pi/6 |
| 204 | for i in range(12): # draw the minute ticks as circles |
| 205 | angle = start-i*step |
| 206 | x, y = cos(angle),sin(angle) |
| 207 | self.paintcircle(x,y) |
| 208 | self.painthms() # draw the handles |
| 209 | if not self.showImage: |
| 210 | self.paintcircle(0,0) # draw a circle at the centre of the clock |
| 211 | |
| 212 | ## Draws the handles. |
| 213 | # |