[cairo] cairo-ocaml bindings and some questions about the new API

Olivier Andrieu oliv__a at users.sourceforge.net
Sat May 28 03:36:39 PDT 2005


 > Keith Packard [Mon, 23 May 2005]:
 > On Mon, 2005-05-23 at 14:02 +0200, Olivier Andrieu wrote:
 > 
 > > - cairo_surface_finish doesn't seem to work as it should. I did this :
 > >      * create a PS surface
 > >      * create a context
 > >      * draw on the surface
 > >      * cairo_show_page ()
 > >      * cairo_surface_finish ()
 > >   but cairo_surface_finish raises a BAD_NESTING exception (apparently
 > >   because the context still references it)
 > 
 > I have a patch to eliminate this restriction; when (if?) that lands
 > in CVS, it would be useful to retest this function.

Great, it works now.

Thanks.
-- 
   Olivier



More information about the cairo mailing list