Re: [svg-developers] Re: SVG#, examples and interactivity

2005-02-05 Thread Jeff Rafter
Thanks for the reply. I will probably need to use the transform functions but not just yet. Meanwhile, rendering was taking to long so I made a little digging :) ended up making a minor change with a performance gain of at least 500% in rendering my test SVG :) It would be great if you

[svg-developers] Square as basic shape

2005-02-05 Thread Jerrold Maddox
Has there ever been a discussion of adding square to Basic Shapes? For instance, following the way circle is done: cx = http://www.w3.org/TR/SVG11/types.html#DataTypeCoordinatecoordinate The x-axis coordinate of the center of the square. cy =

Re: [svg-developers] Mozilla getStyle GetStyleData JavaScript etc

2005-02-05 Thread Thomas DeWeese
Hi couloir007, I don't know for sure about Mozilla but your example will work with Batik, if you add the third parameter to setProperty, also I think that you should access style as a 'property' not as a getter: svgobj = document.getElementById(id); svgstyle = svgobj.style;

Re: [svg-developers] Polygon Rotation

2005-02-05 Thread Philippe Lhoste
pavan kumar wrote: How can i rotate a polygon about one of its sides using svg transformations . Thanking u, S.Pavan Kumar I am not sure to understand your question. You cannot rotate a polygon about one of its sides, unless you do it in 3D, which SVG cannot do. You *can* rotate a

Re: [svg-developers] Polygon Rotation

2005-02-05 Thread pavan kumar
yeah, i would like to rotate the rectangle with animation about one of it sides (which is in along z-axis). Thank you, S.Pavan Kumar --- Philippe Lhoste [EMAIL PROTECTED] wrote: pavan kumar wrote: How can i rotate a polygon about one of its sides using svg transformations

RE: [svg-developers] Square as basic shape

2005-02-05 Thread Doug Schepers
Hi, Jerry- The issue of basic shapes comes up from time to time. Now isn't the time to ask, with SVG1.2 features being frozen and the Spec not yet being approved, but this is something you should take up with the SVG WG once the dust has settled, as a feature for 1.3 (or whatever). Personally,

RE: [svg-developers] Square as basic shape

2005-02-05 Thread Doug Schepers
Hi, Jerry- Thinking more about your proposal, how about instead of a square, you call it 'regularPoly', and add a parameter to indicate the number of sides. So, you'd have: regularPoly cx='30' cy='50' sides='4' length='15' / That way you could have a broadly applicable element that lets you

[svg-developers] Why

2005-02-05 Thread Kemal Uzun
I do not believe in something like a god, because of the reasons stated below: 1)In science everything must have a reason. So what should the reason of our creation be ? Most people say god is testing us. When god is almighty he should know the test results, why is he testing when he already

[svg-developers] Re: Polygon Rotation

2005-02-05 Thread Heiko Niemann
Hi, something like http://www.zuccaralloo.de/devgroup/samples/rotateRect.svg ? Regards- -Heiko http://www.zuccaralloo.de/devgroup/ --- In svg-developers@yahoogroups.com, pavan kumar [EMAIL PROTECTED] wrote: yeah, i would like to rotate the rectangle with animation about one of

[svg-developers] Re: Polygon Rotation

2005-02-05 Thread Samuel Dagan
Hi Pavan, If you want to rotate in 3D a rectangle along the side, that is on the x or y axis, you just do an animated scale transformation from 1 to -1. For a more complicated rotation, as rotation along a diagonal, take a look on my animation presented at the SVGOpen2003 at

Re: [svg-developers] SVG Element

2005-02-05 Thread alvin w
Peter, Thank you for your clear explanation. The problem that I am facing is, I have a desktop application which can render the svg file thru the use for Adobe SVG Viewer. But each time when I try to read this XML element (separately - element by element), it try to get Internet connection

RE: [svg-developers] Square as basic shape

2005-02-05 Thread Jerrold Maddox
Doug Thanks for your long and thoughtful responses. I agree about adding triangles and would really like to see then added to the spec. Ditto for regularPoly ( I am not sure if this should be in place of the triangles or not - the detail you suggest for triangles makes me think they should

[svg-developers] SVG and XAML - was Re: svg viewer for .NET

2005-02-05 Thread svgdeveloper
The SVGViewPlus .NET control by Mobiform is miles ahead of SharpVectorGraphics and is used successfully by a number of large corporations. That said, most of the companies that are using Microsoft products and .NET and looking for vector graphics solutions have dumped the concept of using

Re: [svg-developers] Mozilla getStyle GetStyleData JavaScript etc

2005-02-05 Thread Jonathan Watt
On Sat, 05 Feb 2005 01:35:03 -, couloir007 [EMAIL PROTECTED] wrote: The Code below apparently is an Adobe specific way of setting fill color. I believe GetStyleData would be the Mozilla equivalent. Not sure though since I can't get it to work. Does anyone know how to do this in

Re: [svg-developers] Re: SVG#, examples and interactivity

2005-02-05 Thread alvin w
Jeff, I am using SharpVectorGraphics in my project. But I don't know how to use it to display an SVG file in my project. May I know which library should I include in the references of my project and which Windows Component (control) must I add in to display the SVG image. PinYiow Jeff

RE: [svg-developers] Square as basic shape

2005-02-05 Thread Doug Schepers
Hi, Jerry- Jerrold Maddox wrote: | | Doug | | Thanks for your long and thoughtful responses. Probably with too much 'long' and not enough 'thoughtful'. ;) | I agree about adding triangles and would really like to see | then added to the spec. | Ditto for regularPoly ( I am not sure if