xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: Resize & Repaint Question
Date Mon, 14 Feb 2005 22:11:24 GMT
Hi Steven,

> Is there a way to disable the intermediate repainting 
> operations and just repaint one time, when the user has 
> released the mouse button?

    It doesn't look like the Java API for component
resize has a start, middle, end, just a changed.  However
I think that event compression will mostly solve the
problem (and have a few minor advantages), although you
will usually get one or two "undesired" repaints.

    This has been put into CVS.

Steven Huey wrote:

> I've got a somewhat large (2MB) SVG document being displayed in a 
> JSVGCanvas with a JSVGCanvas.ALWAYS_DYNAMIC document state. When I 
> resize the window containing the JSVGCanvas the SVG image is redrawn to 
> fill the window, however since drawing the image takes a few seconds the 
> operation appears to be stepped, and the image grows in four or five 
> stages until it fills the window. Is there a way to disable the 
> intermediate repainting operations and just repaint one time, when the 
> user has released the mouse button?
> 
> Thanks,
> Steven Huey
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 


---------------------------------------------------------------------
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