You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Bill Haneman <Bi...@ireland.sun.com> on 2000/11/21 18:01:20 UTC
[commit] thumbnail image rendered in background thread
Hi:
I have committed thumbnail background rendering, basically converting the
Thumbnail to use background rendering onto an offscreen buffer, same
as the main canvas. I have also introduced a little new behavior to
ensure that the main canvas rendering waits for the thumbnail to
complete, on initial load of a document. This usually happenned in the
past but with the introduction of threading into the thumbnail it
relied on race conditions without this bit of synchronization.
I expect this to be the last significant set of changes I make to
JSVGCanvas, unless I need to fix a regression that my testing
didn't uncover (hope not ;-). I *do* expect to add some javadoc
comments to JSVGCanvas, the current javadoc comments are not
complete.
-Bill
> Add threading to Thumbnail. Also, when thumbnail is active,
> main canvas background thread rendering will wait until
> thumbnail is rendered.
>
> Modified Files:
> sources/org/apache/batik/refimpl/gvt/text/ConcreteTextSelector.java
> sources/org/apache/batik/refimpl/util/JSVGCanvas.java
>
------
Bill Haneman +353 1 8199279
Ireland Desktop Engineering
Sun Microsystems Ireland Ltd.