xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helder Magalhães <helder.magalh...@gmail.com>
Subject Re: SVG update performances over X11 export display
Date Mon, 30 Nov 2009 13:53:23 GMT
Hi Olivier,


> Is there a way to do this with the batik framework:
>
> beginBatchModifications()
> thread1 -> getUpdateRunnableQueue().invokeLater(runnable1)
> thread2 -> getUpdateRunnableQueue().invokeLater(runnable2)
> thread3 -> getUpdateRunnableQueue().invokeLater(runnable3)
> thread2 -> getUpdateRunnableQueue().invokeLater(runnable4)
> thread1 -> getUpdateRunnableQueue().invokeLater(runnable5)
> endBatch()
>
>
> so that I will not have to manage my synchronized queue of runnable and ensure the repaint
is performed by the endBatch?

Well, SVG has the "(un)suspendRedraw" [1] methods, which Batik
implements [2]. ;-)


Hope this helps,
 Helder


[1] http://www.w3.org/TR/SVG/struct.html#DOMInterfaces
[2] http://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/dom/svg/SVGSVGContext.html

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


Mime
View raw message