MCPcopy Create free account
hub / github.com/ActiveState/code / paintcircle

Method paintcircle

recipes/Python/576830_analog_clock/recipe-576830.py:116–121  ·  view source on GitHub ↗
(self,x,y)

Source from the content-addressed store, hash-verified

114 tag =self._ALL, arrow = 'last')
115
116 def paintcircle(self,x,y):
117 ss = self.circlesize / 2.0
118 mybbox = [-ss+x,-ss+y,ss+x,ss+y]
119 sco = self.canvas.create_oval
120 sco(apply(self.T.twopoints,mybbox), fill = self.circlecolor,
121 tag =self._ALL)
122
123 def poll(self):
124 self.configure()

Callers 1

paintgraficsMethod · 0.95

Calls 1

applyFunction · 0.50

Tested by

no test coverage detected