Try using <defs> and the <use> tags. Define a <def> of your ellipse
path and then you can call this defined ellipse any number of times by
issuing the <use> tag 'n' amount of times.

Here is sample code for how to do this:

<svg>
  
  <!-- Define the ellipse path and give it an id attribute -->
  <defs>
    <path id="ellipse" fill="none" stroke="#000000" stroke-width="0.3"
        d="M90.149,126.15c49.705,0,90-28.207,90-63s-40.295-63-90-63
        c-49.703,0-90,28.207-90,63S40.447,126.15,90.149,126.15z"/>
  </defs>
 
  <!-- Call the defined ellipse path into action -->
  <use x="10" y="10" xlink:href="#ellipse" />

  <!-- This calls the ellipse path and applies a transform to create
an inset version of the path -->
  <use x="10" y="300" xlink:href="#ellipse" transform="scale(0.5)"/>

</svg>

--- In [email protected], "GTTR" <[EMAIL PROTECTED]> wrote:
>
> I was wondering if anyone can point me to how I could create an inset 
> version of a path that is already defined.  For example if I have the 
> following path, which is a ellipse, I would like to have this same 
> path displayed but also have an inset version of it displayed.  Sort 
> of like creating inset borders:
> 
> <path fill="none" stroke="#000000" stroke-width="0.3" 
> d="M90.149,126.15c49.705,0,90-28.207,90-63s-40.295-63-90-63
>       c-49.703,0-90,28.207-90,63S40.447,126.15,90.149,126.15z"/>
> 
> Thanks for taking the time to assist and any help will be appreciated.
> 
> Thanks
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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/
 


Reply via email to