<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>What's your vector, Victor? SVG</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE type=text/css>BLOCKQUOTE {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
DL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
UL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
OL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
LI {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
</STYLE>
<META content="MSHTML 6.00.2712.300" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am currently working on the very thing ---
an SVG parser and renderer.</FONT></DIV>
<DIV><FONT face=Arial size=2>Prototypes are provided at <A
href="http://www.cycast.com/example.html">http://www.cycast.com/example.html</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>since the 2D algorithm were implemented from
scratch without using platform</FONT></DIV>
<DIV><FONT face=Arial size=2>dependent code... it will be portable to
Mac, Unix, or PocketPC.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>steve</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=ccondit@geo.umass.edu href="mailto:ccondit@geo.umass.edu">Chris
Condit</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=use-revolution@lists.runrev.com
href="mailto:use-revolution@lists.runrev.com">use-revolution@lists.runrev.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, March 15, 2002 10:34
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> What's your vector, Victor?
SVG</DIV>
<DIV><BR></DIV>
<DIV>Greg Saylor said:</DIV>
<DIV>*snip* However, I am no artist and the existing graphics are already in
a</DIV>
<DIV>vector-based format. At first I was going to write the parser for
one of<BR>these vector formats inside of Revolution itself, but then I
realized that</DIV>
<DIV>this would be overkill.</DIV>
<DIV><FONT face="New York" color=#000000 size=+1><BR></FONT></DIV>
<DIV><FONT face="New York" color=#000000 size=+1>I work on a Mac, and am a
refugee from SuperCard, so what I do is save the file out of a CAD program as
a pict file (which preserves its vector objects), and import that into
SC. I then run a SC program to write a text file out that describes each
object. I use that text file in a MC program to then convert the file to
MC vector objects/text fields, and in the case of text fields, to assign them
a name corresponding to their respective textData. Primative, round
about, and it means you translate any 24-bit color into 8 bit color when it
gets imported into SC, and re-translate it back to RGB when you create the
object in MC, but it beats redrawing everything.</FONT></DIV>
<DIV><FONT face="New York" color=#000000 size=+1><BR>Be happy to shoot you
these "wonders" of programming "art" if you want to contact me
off-list.</FONT><BR><FONT face="New York" color=#000000 size=+1></FONT></DIV>
<DIV><FONT face="New York" color=#000000 size=+1>about SVG:</FONT></DIV>
<DIV><FONT face="New York" color=#000000 size=+1>I've been trading e-mails
with Scott (and Kevin) about importing vectors, and the possibility of adding
Scalable Vector Graphics (SVG) to the MC engine. When/if MC adds SVG
capability, any CAD program that can save objects in SVG format (as can
Illustrator, among several others), will give us something we can
import. </FONT></DIV>
<DIV><FONT face="New York" color=#000000 size=+1><BR></FONT></DIV>
<DIV><FONT face="New York" color=#000000 size=+1>Details are being kicked
around, but it might not hurt to get folks interested in such to toss in their
two-bits..</FONT></DIV></BLOCKQUOTE></BODY></HTML>