Hi Theo,

theodore <[EMAIL PROTECTED]> wrote on 01/10/2008 07:38:58 
PM:

> Can someone please direct me to how I would pan around a JCanvas
> programmatically?

   Pan is controlled by adjusting the rendering transform on the
canvas.  Primarily by calling 'setRenderingTransform(AffingTransform)'

> I have managed to bring in an svg document, however wanted to be able to
> move this about. Also any hints as to how to best optimise the panning 
would
> be helpful.

    Simply adjusting the rendering transform is the optimal way to 
perform panning for now.

Reply via email to