xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From George Armhold <armh...@cs.rutgers.edu>
Subject Re: accessing UpdateManager before the canvas is displayed
Date Fri, 10 Dec 2004 13:02:36 GMT
Thomas DeWeese wrote:

 > I think the reason the canvas doesn't render is because it's size is
 > zero not because it isn't shown.  If you set the canvas size (say to
 > 10x10 or something) before adding the document it should render.

Bingo!  With this simple change my unit test now passes, no more
deadlock.  Is there any performance gain to be had by correctly
predicting the eventual displayed size, vs specifying 10x10?

Thanks.


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


Mime
View raw message