[Python-checkins] r66614 - python/trunk/Lib/lib-tk/turtle.py

benjamin.peterson python-checkins at python.org
Thu Sep 25 00:11:59 CEST 2008


Author: benjamin.peterson
Date: Thu Sep 25 00:11:59 2008
New Revision: 66614
Log:
#3950 fix missing scale factors in turtle.py
reviewers: Georg, Benjamin
Modified:
 python/trunk/Lib/lib-tk/turtle.py
Modified: python/trunk/Lib/lib-tk/turtle.py
==============================================================================
--- python/trunk/Lib/lib-tk/turtle.py	(original)
+++ python/trunk/Lib/lib-tk/turtle.py	Thu Sep 25 00:11:59 2008
@@ -732,7 +732,7 @@
 """Configure image item as to draw image object
 at position (x,y) on canvas)
 """
- self.cv.coords(item, (x, -y))
+ self.cv.coords(item, (x * self.xscale, -y * self.yscale))
 self.cv.itemconfig(item, image=image)
 
 def _setbgpic(self, item, image):


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /