Share

piddle

Tracker: Bugs

5 piddlePIL-drawPolygon draws pixels outside of outline - ID: 225241
Last Update: Comment added ( sabren )

I'm using PIL 1.1.1. The yellow in the example is a bit too light,
perhaps. Here's a better example. The problem is pretty obvious at the
boundary between the green and the yellow polygons:

import piddlePIL, piddle

canvas = piddlePIL.PILCanvas(size = (100, 100))
canvas.drawPolygon([(50, 30), (80, 50), (50, 90), (10, 90), (50, 30)],
fillColor = piddle.green, edgeColor = piddle.black)
canvas.drawPolygon([(90, 10), (50, 30), (80, 50), (50, 90), (90, 90),
(90, 10)], fillColor = piddle.yellow,
edgeColor = piddle.black)
canvas.save(format = "ppm")


Christopher Lee-Messer ( clee ) - 2000-12-10 16:54

5

Open

None

Christopher Lee-Messer

None

None

Public


Comments ( 2 )




Date: 2005-09-25 16:49
Sender: sabrenProject Admin

Logged In: YES
user_id=1971

Next action:

duplicate the bug with current piddle/sping/PIL



Date: 2000-12-10 16:58
Sender: cleeProject Admin

This may be a bug in PIL. Will forward to pil mailing list
-clee


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
priority 1 2000-12-10 16:57 clee
assigned_to nobody 2000-12-10 16:57 clee
summary drawPolygon draws pixels outside of outline 2000-12-10 16:57 clee