[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] bugs in pygame.draw.circle
- To: <pygame-users@seul.org>
- Subject: Re: [pygame] bugs in pygame.draw.circle
- From: "John Popplewell" <john@johnnypops.demon.co.uk>
- Date: Mon, 1 Oct 2001 07:32:46 +0100
- Delivered-To: pygame-users@seul.org
- Delivery-Date: Mon, 01 Oct 2001 02:31:19 -0400
- References: <15282.36878.891877.677837@gargle.gargle.HOWL><Pine.GSO.3.96.1010927124301.7664E-100000@lawson.comp.utas.edu.au> <15282.46602.422777.823549@gargle.gargle.HOWL> <007c01c147a6$388d1d80$0100a8c0@p233mmx> <000f01c147e6$27394780$1900a8c0@petebox>
- Reply-To: pygame-users@seul.org
- Sender: owner-pygame-users@seul.org
Pete,
still having some problems with ellipses.
Enclosed patch "draw-patch.pat" fixes the obvious typo.
Still some oddities with the returned rectangle.
The script "ellipse.py" draws a series of ellipses with
the returned bounding box in outline. Also reveals above
bug.
Included a script "interactive.py" that is handy for
quickly playing with circles and rectangles.
cd to folder containing script and use this :
"python -i interactive.py"
The output window and console may need moving about a bit
as refresh isn't happening.
For example try:
>> rc = ellipse(20,100)
>> rect(rc) # problem at top and left
>> ellipse(20,100) # shows that bottom and right are ok
In combination with "ZoomIn" (e.g. MS VC++ 6.0 Tools)
the pixels become visible.
Sorry I don't have more time to help,
best regards,
John.
PS isn't Python great!
patch&scripts.zip