Hi Thomas,
I didn't really understand what you mean by 'twiddle' the fill, or how to do
it. What I tried to do is to call the method "setSVGDocument(ChangedDoc)"
after each change of the gradient, but this causes a lot of fluttering in
the animation.
Is there another method to notice the change of the gradient?
Thanks
Best Regards
Bader
From: Thomas DeWeese <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: problem when changing an attribute
Date: Mon, 22 Aug 2005 12:46:46 -0400
bader houmad wrote:
I precise that I set the document stae to dynamic:
JSVGCanvas.setDocumentState(JSVGCanvas.ALWAYS_DYNAMIC).
and I call the method "setAttribueNS" in the UpdateManager's thread.
Batik doesn't properly track dependencies on Gradients. So
you will need to 'twiddle' the fill on the element referencing
the Gradient for Batik to 'notice' that the gradient has changed.
Sorry.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Ne cherchez plus, trouvez ! Avec le nouveau MSN Search.
http://search.msn.fr/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]