Robert Voigtländer wrote: > OK. Found a good one here: > http://www.daniweb.com/software-development/python/threads/321181/python- bresenham-circle-arc-algorithm > > Now only filling is needed. > Any help is welcome ...
I think you shouldn't implement the algorithm directly. Rather look for a library that does it for you. If you are using PIL like in the link you give above consider using the draw.arc() function directly: http://effbot.org/imagingbook/imagedraw.htm There is also cairographics where you draw a "path" on a "surface". http://cairographics.org/documentation/pycairo/2/reference/context.html http://cairographics.org/documentation/pycairo/2/reference/surfaces.html Sorry, I can't help with the details. -- https://mail.python.org/mailman/listinfo/python-list