25 Apr
2006
25 Apr
'06
9:54 a.m.
Ulf Erikson wrote:
On 4/25/06, Bryce Harrington <bryce@...961...> wrote:
Also, have you thought about also doing an EMF importer?
The Windows API helps you "play" a WMF/EMF file and later copy the result to any device (and automatically rescale the drawing to fit the DPI of that device), but I don't think it helps you find the graphical objects inside. You would have to parse the (undocumented?) binary file yourself to find them. I think this is what libwmf tries to do.
The EMF format is documented, and should not be very hard to parse (or write for that matter): http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnargdi/htm...
(as usual that link should be one line)