[svg-developers] Re: Algorithm for Ellipse

2005-03-19 Thread Samuel Dagan
Hi Senthil, You have two choices: 1.Use the basic shape "ellipse" and do a rotation. 2.Use two elliptic paths (the rotation angle is one of the parameters). What do you want more? Or did I misunderstood your question? Cheers, Samy --- In svg-developers@yahoogroups.com, raghu raman <[EMAIL

[svg-developers] Re: Algorithm for Ellipse

2005-03-20 Thread Heiko Niemann
Hi, if you want to draw an ellipse with origin at cx,cy, the radii rx,ry and a rotation of dg degrees you can do following: 1) draw ellipse (two elliptical arcs) and rotate it via tranform: points A(ax,ay), B(bx,by) path of ellipse: "M ax ay A rx ry 0 0 1 bx by rx ry 0 0 1 ax ay z" w