classification
Title: turtle.py: fill() and end_fill() do not work correctly
Type: behavior Stage:
Components: Tkinter Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, gregorlingl
Priority: normal Keywords: patch

Created on 2008-09-25 23:39 by gregorlingl, last changed 2008-09-26 07:17 by georg.brandl. This issue is now closed.

Files
File name Uploaded Description Edit
2.5turtle_fillpatch.diff gregorlingl, 2008-09-25 23:39
Messages (2)
msg73825 - (view) Author: Gregor Lingl (gregorlingl) Date: 2008-09-25 23:39
fill() and end_fill() do not work as expected. As a user 
on the tutor list wrote:

For a while now I've had trouble with end_fill(). Sometimes I can use
it to fill a figure such as a square, triangle or rectangle, but
sometimes not.

This is due to a missing update() call in the RawPen.fill() method

A patch is attached

Regards, Gregor
msg73837 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-09-26 07:17
Committed in r66627 (2.5 branch only).
History
Date User Action Args
2008-09-26 07:17:10georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg73837
nosy: + georg.brandl
2008-09-25 23:43:57gregorlinglsettitle: fill() and end_fill() do not work correctly -> turtle.py: fill() and end_fill() do not work correctly
2008-09-25 23:39:33gregorlinglcreate