RE: JSVGComponent and updating display via the DOM

2002-07-19 Thread Nicolas Socheleau
Hi, Here is the page http://xml.apache.org/batik/javaScripting.html that might help you. It describe the steps to go through in order to take advantage of dynamic updates in Batik with Java ( this is working with Batik 1.5beta3 ). Nicolas > -Original Message- > From: Ingrid Falk [mailto

RE: add script functions and event via batik api--how

2002-07-19 Thread still
Thank you.It really works,and yes it is better to put the script in the cdata section. But the problem is how to add a event(eg.a mousedown event) to the element I create to invoke the script function I defined as following? ^^^And is it the normal way to do

Re: JSVGComponent and updating display via the DOM

2002-07-19 Thread Ingrid Falk
> "George" == George Armhold <[EMAIL PROTECTED]> writes: George> Greetings, I'd like to inquire about the current state of George> Batik with respect to dynamically updating documents via George> the DOM. I've seen a few messages in the list archives George> suggesting that s

Re: Screen Flicker

2002-07-19 Thread Vincent Hardy
Mathew, You should use Batik 1.5beta3, which does what you want and supports dynamic updates without requiring you to redraw the all canvas. Vincent. Mathew Joseph wrote: > hi, > we are trying to create a SVG whiteboard. As of right now we are able to > add elements to the DOM and ask the SVGC

Re: add script functions and event via batik api--how

2002-07-19 Thread Vincent Hardy
Hello, You can do something like: Document doc = ...; // Your SVG document. Element svg = doc.getDocumentElement(); Element rect doc.createElementNS(svgNS, "rect"); svg.appendChild(rect); rect.setAttribute(...); Element script = doc.createElementNS(svgNS, "script"); Element scriptCode = doc.crea

JSVGComponent and updating display via the DOM

2002-07-19 Thread George Armhold
Greetings, I'd like to inquire about the current state of Batik with respect to dynamically updating documents via the DOM. I've seen a few messages in the list archives suggesting that some dynamic features work in the 1.5 beta, however my updates don't seem to work. (I also tried the latest v

including encoded image in svg and rendering to pdf

2002-07-19 Thread Eric Smith
Hi I followed the instructions in the Pawson faq as follows:

add script functions and event via batik api--how

2002-07-19 Thread still
Hi,all: I try to create a SVG DOM object via batik api. The SVG DOM should be look like this: // http://www.w3.org/2000/svg"; width="400" height="450"> function showDialog(msg) { alert(msg); } // it is easy to create the "rect" element to