George Armhold wrote:

Thomas DeWeese wrote:

I'm creating a new filter each time.  Unfortunately the code is rather
complex.  I'm trying to boil it down to something digestible.

In brief, here's what I'm doing.

1. Dynamically create simple SVGDocument (runs in the Swing thread.)
2. Add filter to SVGDocument.
3. setSVGDocument(theDoc);
4. In UpdateManager thread, add <line> segments that use the new
   filter.
5. Expect to see filter effects, but get nothing, or garbled graphics.

It is possible that we do not calculate the effected bounds of the change to the document when the filter effect is added (although in my testing this has worked). I'll try and take a look.

If I then do a setSVGDocument(getSVGDocument()) the canvas updates as
expected, and I see the filter effects correctly.

Hmmm....





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to