On Sun, 2007-08-19 at 16:03 +0100, Emmanuele Bassi wrote:
 
> > cContext.move_to(100, 100)
> > cContext.rel_line_to(100, 100)
> > cContext.rel_line_to(-200, 0) 
> > cContext.close_path()
> > cContext.stroke()
> 
> delete (cContext) # you need to either explicitly destroy
>                   # the cairo context or let it got out
>                   # of the function scope; that's how the
>                   # cairo context gets painted on the texture

sorry, obviously is:

  del(cContext)

and not delete().

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, OpenedHand Ltd.
Unit R, Homesdale Business Centre
216-218 Homesdale Rd., Bromley - BR12QZ
http://www.o-hand.com

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to