You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by grillot sebastien <se...@gmail.com> on 2005/06/27 14:27:49 UTC

SVG animated and the canvas

hello,
what is the value that need to be the canvas to be able to "read" this
kind of svg file : http://www.kevlindev.com/dom/path_data/gravity.svg

Thanks a lot

Seb

-- 
Regist. Linux User #344952

/* Fuck me gently with a chainsaw... */
  -- 2.0.38 /usr/src/linux/arch/sparc/kernel/ptrace.c

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: SVG animated and the canvas

Posted by Thomas DeWeese <Th...@Kodak.com>.
Hi Sebastien,

grillot sebastien wrote:

>>>what is the value that need to be the canvas to be able to "read" this
>>>kind of svg file : http://www.kevlindev.com/dom/path_data/gravity.svg
>>
>>    I don't follow, it worked fine for me right off in squiggle.
>>What problem are you having?
> 
> the problem it's that the svg it's not "play"... there is no animation !
> I put the canvas at these option
> :"	svgCanvas.setDocumentState(JSVGCanvas.ALWAYS_INTERACTIVE); "
> You can read these animated svg with batik and the svgcanvas !?

   Yes.  Try using the Scroll example in 
xml-batik/contrib/scroll/ScrollExample.java (you will have to modify
it to accept a URL or download the gravity.svg and the pathData.js
locally).  This worked fine for me.  Are you getting an error?

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: SVG animated and the canvas

Posted by grillot sebastien <se...@gmail.com>.
On 27/06/05, Thomas DeWeese <Th...@kodak.com> wrote:
> Hi Grillot,
sebastien it's great to ;)
> 
> grillot sebastien wrote:
> 
> > what is the value that need to be the canvas to be able to "read" this
> > kind of svg file : http://www.kevlindev.com/dom/path_data/gravity.svg
> 
>     I don't follow, it worked fine for me right off in squiggle.
> What problem are you having?
the problem it's that the svg it's not "play"... there is no animation !
I put the canvas at these option
:"	svgCanvas.setDocumentState(JSVGCanvas.ALWAYS_INTERACTIVE); "
You can read these animated svg with batik and the svgcanvas !?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
> 
> 


-- 
Regist. Linux User #344952

/* Fuck me gently with a chainsaw... */
  -- 2.0.38 /usr/src/linux/arch/sparc/kernel/ptrace.c

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: SVG animated and the canvas

Posted by Thomas DeWeese <Th...@Kodak.com>.
Hi Grillot,

grillot sebastien wrote:

> what is the value that need to be the canvas to be able to "read" this
> kind of svg file : http://www.kevlindev.com/dom/path_data/gravity.svg

    I don't follow, it worked fine for me right off in squiggle.
What problem are you having?

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org