Re: SVG & PS/EPS surfaces

Emmanuel Pacaud <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Why are you using an intermediate surface ? The following code should 
do the same:

fs = cairo_ps_surface_create("test.eps",100.0,100.0);
cairo_ps_surface_set_eps(fs,1);
cr = cairo_create(fs);
   (drawing commands on cr)
cairo_destroy(cr);
cairo_surface_finish(fs);

Anyway, if you have to use intermediate surface, use 
cairo_surface_create_similar.

	Cheers,

		Emmanuel.

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.