Bugs item #1528363, was opened at 2006-07-25 20:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1528363&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: NatureMage (naturemage)
Assigned to: Nobody/Anonymous (nobody)
Summary: forward in turtle module may cause incorrect display

Initial Comment:
Use forward() in the turtle module to draw 
horizontally from right to left, if the starting 
position's x and y coordinates are different from the 
origin, the line may not appear straight. But if the 
tk window is redrawn, for example minimized and then 
restored, the line will be properly displayed.

The following code will reproduce this issue:

# start
from turtle import *
from Tkinter import *

color("maroon")
up()
goto(30, 30)
down()
left(180)
forward(100)
    
mainloop()
# end

I checked the source of the turtle module, but failed 
to figure out the reason. The attatchment contains a 
snapshot of what happens.

My environment:
Python version: 2.4.3
OS: Windows XP sp2
Video Card: Nvidia 6600
CPU: P4 2.66G Hz
Mem: 1G

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1528363&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to