[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Save revision graph as .wmf?

From: Chris Keydel <christian.keydel_at_gmail.com>
Date: 2005-05-31 02:31:49 CEST

SteveKing wrote:

> Will Dean wrote:
>
>> You don't need make it as a file format - you can just draw onto a
>> Metafile DC (see CMetaFileDC) and then copy that to disk.
>>
>> There can be horrible issues around getting the scaling right, but
>> that's the basic principle.
>>
>> As the OP intimated, a WMF is basically a script of GDI operations.
>
> As of revision 3183, the revision graph can now be saved as a wmf file.
> Thanks for the hint with CMetaFileDC ;)

Hi Steve,

Thanks for putting this in - I got to check it out the first time
using the nightly build 3551. It *almost* works... ;)

Attached are two screenshots: The original revision graph window and
the generated .wmf file from that in a viewer app. Everything is
there, except one kind of boxes - the ones with the small cut-off
edges. The octagon boxes and the rectangles are there, however, as
well as all text, which leads me to think that the missing type of box
is just not drawn onto the canvas for the wmf file.

Besides that, the canvas is HUGE, which means I have to zoom the file
to some 3000% or so to view it in "normal size". Since it's a vectored
format that doesn't really bother me, but if there is an easy fix to
reduce the canvas size to the area that is actually used before the
file is written that would be great!

Cheers,
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

test_orig.png test_wmf.png
Received on Tue May 31 08:54:35 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.