As an alternative, how about (using the example):
<!DOCTYPE svg [
            <!ENTITY atr "M-10,370 c470,-330 500,300 500,400">
            <!ENTITY dtr "M-10,373 c350,-280 700,120 900,40">
            <!ENTITY btr "M-10,360 c350,-280 700,120 900,40">
            <!ENTITY ctr "M510,770 c-60,-330 50,-600 100,-960">
]>
<svg viewBox="0 0 880 800" xmlns="http://www.w3.org/2000/svg";
xmlns:xlink="http://www.w3.org/1999/xlink";>
            <defs>
            </defs>
            <rect x="103" y="53" width="700" height="700" fill="#333"
stroke="#333" stroke-width="1"/>
            <rect x="100" y="50" width="700" height="700" fill="#cdc"
stroke="#333" stroke-width="1"/>
            
            <svg x="100" y="50" width="700" height="700" viewBox="100 0
700 700" overflow="hidden">
                        <path id="ATrain" d="&atr;" fill="none"
stroke="#000" stroke-width="2" />
                        <path d="&atr;" fill="none" stroke="#000"
stroke-width="8" stroke-dasharray="1,10,1,10"/>
                        
                        <path id="BTrain" d="&btr;" fill="none"
stroke="#000" stroke-width="2" />   
                        <path d="&btr;" fill="none" stroke="#000"
stroke-width="8" stroke-dasharray="1,10,1,10"/>
                        
                        <path id="DTrain" d="&dtr;" fill="none"
stroke="#000" stroke-width="2" />   
                        <path d="&dtr;" fill="none" stroke="#000"
stroke-width="8" stroke-dasharray="1,10,1,10"/>
                                    
                        <path id="CTrain" d="&ctr;" fill="none"
stroke="#000" stroke-width="2" />   
                        <path d="&ctr;" fill="none" stroke="#000"
stroke-width="8" stroke-dasharray="1,10,1,10"/>
            </svg>
</svg>
 
Kerry Coffin
Internet Solutions, ESRI
www.esri.com <http://www.esri.com/> 
 
 
 
 
-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Heiko Niemann
Sent: Monday, July 18, 2005 11:26 PM
To: [email protected]
Subject: [svg-developers] Re: how to draw rialroad line style in SVG
 
Hi,

here is a sample where you can see what Peter Kalev suggested: 

http://www.zuccaralloo.de/devgroup/samples/railroad.svg

So you could define entities which makes things easier when you need
to change a path. Since this sample also uses textpath and animation
it probably just will run with ASV3/ASV6.

Regards,

Heiko

http://www.zuccaralloo.de/devgroup


--- In [email protected], "zhg331" <[EMAIL PROTECTED]> wrote:
> Hi group, I am a beginner with SVG. I want to know is there any way to

> draw railroad line with SVG. many thanks




-----
To unsubscribe send a message to:
[EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
---- 



  _____  

YAHOO! GROUPS LINKS 
 
*          Visit your group "svg-developers
<http://groups.yahoo.com/group/svg-developers> " on the web.
  
*          To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
  
*          Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/>  Terms of Service. 
 
  _____  



[Non-text portions of this message have been removed]



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to