[cairo] EMF output?

Jan Struyf jan.struyf at cs.kuleuven.be
Sun Feb 25 01:30:25 PST 2007


Dear All,

I would like to use the Cairo library save graphs, diagrams and technical 
drawings in various vector and possibly bitmap formats. Besides SVG and 
PDF output, I'm also very much interested in EMF because this would allow 
me to copy and paste graphics to various Windows applications.

I was wondering if the Win32 surface is useful for this. Is this a bitmap 
surface or is it really a vector surface? Given that I'm mainly interested 
in this for technical drawings, saving in vector format is important, even 
if not all effects are perfectly rendered in this way.

I found a thread about a patch contributed by Hans Breuer and it appears 
that this patch is related to my question because it defines vector 
operations for EMF output:

<http://lists.freedesktop.org/archives/cairo/2005-February/002936.html>

Has this patch or similar functionality been integrated into Cairo? Or is 
this still a difficult matter? I understood that there is a balance 
between approximating the intended drawing with the supported primitives 
by the target format or rendering parts of the drawing as a bitmap and 
that this is especially difficult for EMF.

Any infromation regarding this would be very much appreciated.

With kind regards,

Jan.

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


More information about the cairo mailing list