Re: More svg questions - Example request, and WMF conversion

I have made progress on this and plan to post the simple conversion
program soon (I hope this weekend).

Currently on http://www.blackdirt.com/graphics/svg/ you can view a
sample generated file sample1.svg and the associated metafile and a JPEG
version of the same metafile.

Please comment on the output. There are more things that need to be
added and I am sure there are errors, but it is very easy to change now.
The infrastrastructure is in place and I am now reacquainted with this
code.  

One question, is there a simple way to create Ovals?
Metafiles specify these with a position width and height. To generate
that in Java, I would use:

     g.drawOval (x,y,w,h);

Again, thanks and please comment,
Carmen
--
  Carmen Delessio
  carmen@blackdirt.com




Chris Lilley wrote:
> 
> Carmen Delessio wrote:
> >
> > I have written Java programs to convert WMF files into Java source code
> > and also to display WMFs in applets.  See
> > http://www.blackdirt.com/graphics/
> >
> > My intention is to write a WMF to SVG converter,
> 
> Good. As soon as you have a page about it, let the list know and  will
> ad a link to the W3C SVG overview page
>   http://www.w3.org/Graphics/SVG
> 
> > but I am hard pressed
> > to find a single example SVG file.
> 
> The next draft is planned to have samples to better illustrate how to
> use the various tags and attributes; also a DTD so people can validate
> their files.
> 
> Once there is a generator or converter working, real sample files that
> drawe something worth looking at will soon become available.
> 
> > Since I have the WMF viewer in Java,
> > I do not think it will be a big stretch to the create a simple SVG
> > viewer for WMF type files.
> 
> You mean, by converting SVG to WMF? Or do you mean, having written one ,
> another will be easier?
> 
> --
> Chris

Received on Friday, 7 May 1999 01:16:23 UTC