Hi hodac,,

dao <[email protected]> wrote on 01/15/2010 06:13:34 AM:

> I am going crazy, I suppose because I don't get something basic in 
> the batik architecture:

[...]

> I can see that only the user's elements are modified. The mask 
> elements are not updated. I decide to dump the SVG from the canvas 
> during the execution (after the rendering) (getSVGDocument()).I open
> it in squiggle, and oh! the mask elements are displayed OK!!!

   It is an architectural flaw in Batik, we don't track changes 
automatically in a few cases, this is one of them.  You need to
'twiddle' the mask reference and Batik will rebuild the mask.

> So what's wrong with my program? what are the reason why the 
> rendered canvas is not in accordance with the current canvas?

   Tracking changes in this case is non-trivial.

Reply via email to