Hi Vincent,

"V. de Weger" <[EMAIL PROTECTED]> wrote on 11/01/2006 01:36:39 AM:

> Thomas, I've got two canvasses on a scrollpane now, and they scale, pan, 
etc.
> fine. Only when I resize the JFrame they loose their sync. In my 
subclassed
> canvas I've overwritten setRenderingTransform, setRenderingTransform and
> setPaintingTransform. Did I miss one?

   No, but it is possible that when the resize happens the 'lower'
canvas resizes larger than the upper canvas (in the scrollpane)
because the lower one isn't constrained by the scrollpane taking
up space.  I would check that after the resize the size of the
two canvas's are the same otherwise they will fit the content
to the available area differently (the viewBox transform).


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

Reply via email to