xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas.dewe...@kodak.com
Subject Re: My canvas does not display some changes
Date Fri, 15 Jan 2010 12:01:42 GMT
Hi hodac,,

dao <dao.hodac@gmail.com> 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.

View raw message