xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Huey <stevenh...@stevenhuey.net>
Subject Re: Resize & Repaint Question
Date Tue, 15 Feb 2005 01:00:15 GMT
Much better! Thanks!

On Feb 14, 2005, at 5:11 PM, Thomas DeWeese wrote:

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


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