# [MATRIX-SIG] reverse of take?

**Andrew P. Mullhaupt
**
amullhau@ix.netcom.com

*Thu, 26 Jun 1997 18:03:24 -0400*

At 11:01 PM 6/26/97 +0200, Fredrik Lundh wrote:
>>*Ie, I want to draw a circle on a large array of 0 bytes
*>>*(without making another large array). solution: compute
*>>*the array of indices for the circle and set all the indices
*>>*to one.
*>*
*>*from ImageDraw import ImageDraw
*>*
*>*d = ImageDraw(im)
*>*d.setfill(1)
*>*
*>*d.ellipse((x0,y0,x1,y1))
*>*
*
And if it's not a conic section he wants to draw....?
Later,
Andrew Mullhaupt
_______________
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________