RE: [svg-developers] RE: Outline of ellipse

2006-02-13 Thread Doug Schepers
Hi, Fulio-

You could also achieve a similar effect by simply giving variable values to
the stroke-dasharray:

ellipse cx='180' cy='150' rx='65' ry='43' fill='none' stroke='red'
stroke-width='2' stroke-dasharray='96 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6
6 6 6 6 6 6 6 6 6 6 74'/

It is only slightly shorter, and might be less robust as you need to
increase the size of your shape, but it might be easier for someone to
hand-code.

Also, I noticed that you're missing some closing /g tags, so your content
is not well-formed. this will stop it from working on FF and other browsers.

Regards-
Doug

[EMAIL PROTECTED]
www.vectoreal.com ...for scalable solutions.
 

Fulio Pen wrote:
| 
| Thank everyone who offered help.  I did two paths with 
| elliptical arc.  It worked.  
| 
| http://www.pinyinology.com/svg/ellipse1.svg
| 
| SVG is a great technology.  I hope it will be fully supported 
| on all major browsers.  I also hope that not only 
| professional computer programmers, but also non-professionals 
| such as me will use it more and more in designing pages for Internet. 
| 
| Thanks again for your teaching. 
| 
| Phi Tran [EMAIL PROTECTED] wrote: Definitely you need 
| at least two path.
|  
|   If you could not find that then I can send you a 
| javascript rountine to
|  split that Ellipse into 4 Bezier Curves. Left-top,right bottom.
|  
|  But I you need to devide your ellpise not at the 90 
| degree even then:
|  The you can do the Path with  four ARC(s). 2 on each path. 
| With No z
|  
|Or I can Send your a piece of javascript to draw your 
| ellipse into a
|  series of lines (for your path).
|  
|  
|  PHI.
|  
|  
|  
|  On 2/5/06, Richard Smith [EMAIL PROTECTED] wrote:
|  
|   You could split the ellipse into two paths, each of which had an
|   elliptical arc, if SVG allows that (I can't remember ...) 
| or the bezier
|   approximation if not.



-
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] RE: Outline of ellipse

2006-02-13 Thread Fulio Pen
Doug,

Thanks a lot for teaching.   I will definitely try your way, as I have to draw 
many more such ellipse. 

Fulio

Doug Schepers [EMAIL PROTECTED] wrote: Hi, Fulio-
 
 You could also achieve a similar effect by simply giving variable values to
 the stroke-dasharray:
 
 ellipse cx='180' cy='150' rx='65' ry='43' fill='none' stroke='red'
 stroke-width='2' stroke-dasharray='96 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6
 6 6 6 6 6 6 6 6 6 6 74'/
 
 It is only slightly shorter, and might be less robust as you need to
 increase the size of your shape, but it might be easier for someone to
 hand-code.
 
 Also, I noticed that you're missing some closing /g tags, so your content
 is not well-formed. this will stop it from working on FF and other browsers.
 
 Regards-
 Doug
 
 [EMAIL PROTECTED]
 www.vectoreal.com ...for scalable solutions.
  
 
 Fulio Pen wrote:
 | 
 | Thank everyone who offered help.  I did two paths with 
 | elliptical arc.  It worked.  
 | 
 | http://www.pinyinology.com/svg/ellipse1.svg
 | 
 | SVG is a great technology.  I hope it will be fully supported 
 | on all major browsers.  I also hope that not only 
 | professional computer programmers, but also non-professionals 
 | such as me will use it more and more in designing pages for Internet. 
 | 
 | Thanks again for your teaching. 
 | 
 | Phi Tran [EMAIL PROTECTED] wrote: Definitely you need 
 | at least two path.
 |  
 |   If you could not find that then I can send you a 
 | javascript rountine to
 |  split that Ellipse into 4 Bezier Curves. Left-top,right bottom.
 |  
 |  But I you need to devide your ellpise not at the 90 
 | degree even then:
 |  The you can do the Path with  four ARC(s). 2 on each path. 
 | With No z
 |  
 |Or I can Send your a piece of javascript to draw your 
 | ellipse into a
 |  series of lines (for your path).
 |  
 |  
 |  PHI.
 |  
 |  
 |  
 |  On 2/5/06, Richard Smith [EMAIL PROTECTED] wrote:
 |  
 |   You could split the ellipse into two paths, each of which had an
 |   elliptical arc, if SVG allows that (I can't remember ...) 
 | or the bezier
 |   approximation if not.
 
  

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

  

SPONSORED LINKS   
Xml format  
 Svg   Format   
  Data  

  
-
   YAHOO! GROUPS LINKS 
 

Visit your group svg-developers on the web.

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

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
 

-
 
 
 


-
 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews,  more on new 
and used cars.

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




Re: [svg-developers] RE: Outline of ellipse

2006-02-08 Thread Fulio Pen
Thank everyone who offered help.  I did two paths with elliptical arc.  It 
worked.  

http://www.pinyinology.com/svg/ellipse1.svg

SVG is a great technology.  I hope it will be fully supported on all major 
browsers.  I also hope that not only professional computer programmers, but 
also non-professionals such as me will use it more and more in designing pages 
for Internet. 

Thanks again for your teaching. 

Phi Tran [EMAIL PROTECTED] wrote: Definitely you need at least two path.
 
  If you could not find that then I can send you a javascript rountine to
 split that Ellipse into 4 Bezier Curves. Left-top,right bottom.
 
 But I you need to devide your ellpise not at the 90 degree even then:
 The you can do the Path with  four ARC(s). 2 on each path. With No z
 
   Or I can Send your a piece of javascript to draw your ellipse into a
 series of lines (for your path).
 
 
 PHI.
 
 
 
 On 2/5/06, Richard Smith [EMAIL PROTECTED] wrote:
 
  You could split the ellipse into two paths, each of which had an
  elliptical arc, if SVG allows that (I can't remember ...) or the bezier
  approximation if not.
 
 
  -
  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
 
 
 
 
 
 
 
 
 
 
 [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
  

  

SPONSORED LINKS   
Xml format  
 Svg   Format   
  Data  

  
-
   YAHOO! GROUPS LINKS 
 

Visit your group svg-developers on the web.

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

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
 

-
 
 
 


-
 Yahoo! Mail - Helps protect you from nasty viruses.

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




Re: [svg-developers] RE: Outline of ellipse

2006-02-05 Thread Phi Tran
Definitely you need at least two path.

 If you could not find that then I can send you a javascript rountine to
split that Ellipse into 4 Bezier Curves. Left-top,right bottom.

But I you need to devide your ellpise not at the 90 degree even then:
The you can do the Path with  four ARC(s). 2 on each path. With No z

  Or I can Send your a piece of javascript to draw your ellipse into a
series of lines (for your path).


PHI.



On 2/5/06, Richard Smith [EMAIL PROTECTED] wrote:

 You could split the ellipse into two paths, each of which had an
 elliptical arc, if SVG allows that (I can't remember ...) or the bezier
 approximation if not.


 -
 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










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