[Image-SIG] Bezier, or any other way to draw closed pictures made of curves?

Lalo Martins lalo@webcom.com
Thu, 2 Sep 1999 14:22:47 -0300


On Wed, Sep 01, 1999 at 02:13:40PM +0200, Fredrik Lundh wrote:
> 
> luckily, I managed to fix my time machine (with a little
> help from Skalman), and added it to the 1.0 release.
> 
> import ImageDraw
> 
> s = ImageDraw.Outline()
> s.move(0, 0)
> s.curve(0, 100, 100, 100, 100, 0)
> s.line(0, 0)
> 
> d = ImageDraw.Draw(im)
> d.shape(s, fill=1)

Wow, you're so great :-) I will try it out on the weekend. I
will also document it, you may save the part on it for later
when it's stable.

[]s,
                                               |alo
                                               +----
--
      I am Lalo of deB-org. You will be freed.
                 Resistance is futile.

http://www.webcom.com/lalo      mailto:lalo@webcom.com
                 pgp key in the web page

Debian GNU/Linux       --        http://www.debian.org