Problem with Tkinter's scale function.

Hendrik van Rooyen mail at microcorp.co.za
Tue Feb 10 03:47:32 EST 2009


Nicholas Feinberg wrote:


>Code that caused the problem (unlikely to be helpful, but no reason not to
include it):
>self.canvas.scale(self.body,self.radius/(self.radius-.5),self.radius/(self.radi
us-.05),0,0)#radius is greater than .5

scale's arguments are:

scale(TagOrID,xorigen,yorigen,xscale,yscale)

You seem to be moving the thing and scaling it to zero...

- Hendrik




More information about the Python-list mailing list