[svg-developers] Re: How to convert svg rect to path

2010-10-24 Thread fi...@rocketmail.com
Thanks for the help has been very useful --- In svg-developers@yahoogroups.com, John Delacour j...@... wrote: At 11:46 + 20/10/10, fi...@... wrote: Anybody can help me with svg rect convertion to svg path? I need know the steps to convert rect parameters to path commands. Example,

[svg-developers] how to visualise an arbitrary size matrix with svg?

2010-10-24 Thread Jonathan Chetwynd
2 Queries around the same idea: 1: Is there a simple way to visualise an arbitrary size matrix with svg? ie say: vary opacity or hue, as a gradient over another arbitrary size rectangle. very basic method: fill in a rectangle for each value in the matrix one longwinded method: use

[svg-developers] Re: setting an event handler

2010-10-24 Thread Holger Jeromin
ddailey schrieb am 23.10.2010 18:29: I've always used something like O.setAttribute(onclick,add(evt)) to attach an event handler in SVG. But someone told me recently that O.addEventListener(click, function(evt){add(evt)}, false) is actually preferrable. (The person who told me this

[svg-developers] Re: Embed SVG from SVG

2010-10-24 Thread Andreas
The bug is fixed in 4.0b8. --- In svg-developers@yahoogroups.com, Andreas paw...@... wrote: You are right. Fox 3.6.11 zoom it.The upcoming Fox on Ubuntu 10.10 not. --- In svg-developers@yahoogroups.com, Jacob Beard jbeard4@ wrote: Here's FF3.6 on Ubuntu 10.04:

[svg-developers] Re: setting an event handler

2010-10-24 Thread jeff_schiller
--- In svg-developers@yahoogroups.com, ddailey ddai...@... wrote: Hi folks, I've always used something like O.setAttribute(onclick,add(evt)) to attach an event handler in SVG. But someone told me recently that O.addEventListener(click, function(evt){add(evt)}, false)

Re: [svg-developers] how to visualise an arbitrary size matrix with svg?

2010-10-24 Thread Charles McCathieNevile
On Sun, 24 Oct 2010 15:15:20 +0200, Jonathan Chetwynd j.chetw...@btinternet.com wrote: 2 Queries around the same idea: 1:Is there a simple way to visualise an arbitrary size matrix with svg? ie say: vary opacity or hue, as a gradient over another arbitrary size rectangle. Would

Re: [svg-developers] Re: setting an event handler

2010-10-24 Thread ddailey
Thanks Jeff. Yes, it looks as though evt is automatically assumed as the argument in all the browsers I've seen! Thanks, it's only three keystrokes longer than the other way. cheers David - Original Message - From: jeff_schiller To: svg-developers@yahoogroups.com Sent:

Re: [svg-developers] Re: setting an event handler

2010-10-24 Thread ddailey
thanks Holger, Just to make sure I understand, ... naming the function add( ) was just a coincidence since I was using it to add content to the SVG DOM. Would your comments be just as valid if I would have used O.setAttribute(onclick, silly(evt) ) ? If I clone a node, and then use

[svg-developers] getTotalLength and getPointAtLength

2010-10-24 Thread ddailey
Two quick and easy questions: 1. Where in the SVG 1.1 spec are these two topics (getTotalLength and getPointAtLength) discussed. I tried searching and couldn't find 'em. 2. If a path is subjected to a transform then do these methods reflect the path before or after the transform? ASV says after