[svg-developers] Borders for Path

2005-11-09 Thread pkvasan
Hello all 

Iam creating Map of my City for one of our Project. Iam using Path 
Shape to draw roads. is it possible to draw a border across the roads 

can any body help me 

Kirthi  





 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/
 




Re: [svg-developers] Borders for Path

2005-11-09 Thread Andre M. Winter - Carto.net
hi kirthi,

i don't understand your question a border is a path, a border too. where 
is the crossing problem? a sample would help here.

andré


-- 
___
andre m. winter,
  cartography for internet and multimedia applications
  schiessstand 4/1, a6091 goetzens, tyrol, austria
  tel.: ++43.5234.32732
  email: [EMAIL PROTECTED]

http://www.vectoreal.com/  SVG consulting and development
http://www.carto.net/  online cartography focusing on SVG
http://www.carto.at/ print and online touristic map solutions 




pkvasan wrote:
 Hello all 

 Iam creating Map of my City for one of our Project. Iam using Path 
 Shape to draw roads. is it possible to draw a border across the roads 

 can any body help me 

 Kirthi  






 -
 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



  


   





 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM
~- 

-
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/
 




Re: [svg-developers] Borders for Path

2005-11-09 Thread Jeroen Vanattenhoven
Do you mean you want to give your path lines a different colour for the 
inside and the outside (edge)?  In this case, I have already posted this 
question to the svg mailing list and the answer was no. Current SVG 
standard doesn't allow that. Next SVG standard will make that possible 
through the use of Vector Effects 
(http://www.w3.org/TR/2004/WD-SVG12-20041027/vectoreffects.html).

The only way to get such lines with the current SVG standard is drawing 
the path twice. Each time with a different stroke-width and a different 
stroke. It might be best to define your path elements inside the defs 
element on top of your svg file. Then you can reference those paths 
using the use element and apply the different stroke-with and stroke to 
the use element:

...
defs
   g id='L5-0'
 path d='M0 111l24 6 ... '/
 path d='...'/
 ...
   /g
/defs
g id='Streets'
   use xlink:href='#L5-0' fill='none' stroke='rgb(180,180,180)' 
stroke-width='8' stroke-linecap='round' stroke-linejoin='round'/
   use xlink:href='#L5-0' fill='none' stroke='rgb(255,255,255)' 
stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/
/g
...

Jeroen

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/