Hi!

I'm not sure if this can work at all but maybe someone has an idea or solution for this.
I've got a JSVGCanvas rendering a document wich has a defined initial size <svg width="400" height="400">. Now I'm adding elements to the document via the UpdateManager. I do not know exactly at which coordinates the elements are added to the document so some of them may have bigger x/y coordinates and thus be placed "outside" the document
(the doc has overflow="visible")
What I want to do is to automatically resize the JSVGCanvas to fit all "outside" elements in, kind of resize it to a bounding box of all elements in the doc.
Can this be done with any listeners?
Is this already solved by the JSVGScrollCanvas I just read about?


Cheers,
Reinhard
--
Reinhard Brandstaedter   [EMAIL PROTECTED]  GPG: 0x033B81DB
-    Student of Computer Science - J.K. University of Linz     -
-        <ICQ: 73059068>    <Mobile: +43 699 12419541>         -
-                  http://adelaide.dnsalias.net                -


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



Reply via email to