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")
This may be a bug in PIL. Will forward to pil mailing list
-clee
Logged In: YES
user_id=1971
Next action:
duplicate the bug with current piddle/sping/PIL