[Image-SIG] Drawing filled polygons with holes with aggdraw

Jiří Mikulášek jmikulasek at gmail.com
Sat Sep 30 00:50:12 CEST 2006


I would like to ask whether it is possible to draw properly filled multipolygons
with aggdraw. By properly filled I mean that when I have for example
multipolygon consisting of two polygons where one is inside another -
call these objects polygons with holes - and want to draw it with
solid fill, then I would like to have filled only the space between

I know that it is easy to draw multipolygons without holes - just draw
individual polygons one by one, but polygons with holes can not be
drawn like that.
Is there currently any way I am not aware of? If not, is it likely to
get implemented?
And if it is not likely :-) how difficult it would be to implement it
for someone who
is not very familiar with agg? Is it possible at all?

Thank you very much.

Jirka Mikulasek

More information about the Image-SIG mailing list