Hi Jorg,

Jorg Heymans wrote:

I am dynamically adding path elements to a document. They show up fine. However when the canvas is resized everything from the canvas disappears, even though i've set a viewbox on the document and a fixed size on the swing component the canvas is embedded in. All other operations that repaint like zoom, pan are all fine.

Is there a setting on jsvgcanvas i need to set for this to be correct?

No.

Do i need to associate an SVGUserAgent on the canvas perhaps?

Not that I can think of. Tthe main method that is called when the canvas is resized is updateRenderingTransform. You might want to see what that is doing.

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



Reply via email to