Comment 8 for bug 818539

Revision history for this message
David Mathog (mathog) wrote :

To fix the positioning problem change this line

tmp_image << " y=\"" << r << "\"\n x=\"" << l <<"\"\n ";

to this

tmp_image << " y=\"" << t << "\"\n x=\"" << l <<"\"\n ";

In the attached example the original EMF contained bitmaps exactly where the grey/blue/red rectangles
are now. Not posting that EMF as those bitmaps were very high resolution so the EMF is huge.

Still hunting around for code to actually pull the bitmaps out of the emf from within the EnumEnhMetaFile loop.