Article View: comp.os.ms-windows.programmer.graphics
Article #50Re: A utility, or a way, to play with metafiles, and get metafiles.
From: janet webb
Date: Fri, 16 Jun 1995 00:00
Date: Fri, 16 Jun 1995 00:00
24 lines
2267 bytes
2267 bytes
John Beardmore (wookie@wookie.demon.co.uk) wrote: : In article <3r5qh3$dd4_002@ldh.interlog.com> : ldh@interlog.com "Laurent-David HASSON" writes: : >I have a few metafiles (.WMF) that i want to combine into one, and get a : >metafile... In other words, i am trying to make one metafile out of several : >WMF files.... : Do the metafiles share a common origin ? If so, they'll probably use the : same mapping modes and coordinate systems. This being the case, you can : probably strip the EOF metafile record off the first file, throw away the : header of the first and concatenate the files. You'll have to scan the : second file to note the longest metafile record and the number of records : then you'll need to update the header of the file taking that into account. : Not a lot of work if you have a C compiler. Thats a lot of work! I've done it a few times before in C++... just play the 2 metafiles to a second device context that is a metafile. If you look at the metafile functions you will see the functions you need. Regards... Kevin Price.
Technical Details
Message-ID:
<3rra3l$giq@nnrp.ucs.ubc.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3r5qh3$dd4_002@ldh.interlog.com> <803084915snz@wookie.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 124e6c,fa182525b5344211 X-Google-Attributes: gid124e6c,public X-Google-Thread: 1120e8,fa182525b5344211 X-Google-Attributes: gid1120e8,public X-Google-Thread: 101278,fa182525b5344211 X-Google-Attributes: gid101278,public X-Google-Thread: 105df1,fa182525b5344211 X-Google-Attributes: gid105df1,public X-Google-Thread: fbde8,fa182525b5344211 X-Google-Attributes: gidfbde8,public From: jwebb@unixg.ubc.ca (janet webb) Subject: Re: A utility, or a way, to play with metafiles, and get metafiles. Date: 1995/06/16 Message-ID: <3rra3l$giq@nnrp.ucs.ubc.ca> X-Deja-AN: 104457974 distribution: world references: <3r5qh3$dd4_002@ldh.interlog.com> <803084915snz@wookie.demon.co.uk> followup-to: comp.os.ms-windows.programmer.graphics,fr.comp.windows.divers,comp.os.ms-windows.programmer.misc,alt.binaries.pictures.utilities,comp.os.ms-windows.apps.utilities organization: University of British Columbia, Vancouver, B.C., Canada newsgroups: comp.os.ms-windows.programmer.graphics,fr.comp.windows.divers,comp.os.ms-windows.programmer.misc,alt.binaries.pictures.utilities,comp.os.ms-windows.apps.utilities