Mm, I got distracted by other tasks for a bit but I've spent some more time
exploring this.

It is definitely a timing issue because if I inject a delay with
thread.sleep into the rendering process it renders onto the Image just fine,
and the lag is even quite tolerable.  However thats a pretty blunt way to
solve the problem, inserting a fixed time delay which may or may not be
adequate for a given system, so a delay based on an event would be much
desirable.

Unfortunately despite investigating events with very hopeful names like
transformChanged and gvtRenderingCompleted I can't find a better way so far
to detect when the rendering is finished.  The problem seems to be that
setRenderingTransform on JSVGCanvas doesn't actually fire any of these
events off.

Does anybody have any idea how this might be accomplished?  i'm very wary of
delving into only dimly understood source code to try and add in my own
event dispatcher code...
-- 
View this message in context: 
http://www.nabble.com/Batik-rendering-issues-tp20682211p20705311.html
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to