Phil Krylov phil@newstar.rinet.ru writes:
Anything wrong with this patch? Should I try to improve it in the direction of supporting more metafile record types and supporting reading little-endian EMFs from disk? Or change everything at all?
I think the direction is OK, but the macros are fairly ugly, and non-portable. I'd suggest doing the conversion with inline functions instead.