Re: [svg-developers] Re: get screen size in batik squiggle browser

2006-02-09 Thread senthilnathan kannan
Dear Andreas Neumann, I am not trying to get the screen width and height of the SVG canvas.Instead I am trying to get the computers sccreen resoultion and set the svg root's viewbox to match the computer screen resolution. I certainly appreciate your reply. Any further input will be h

[svg-developers] Re: get screen size in batik squiggle browser

2006-02-09 Thread Tonny Kohar
Hi, You could use Java AWT Toolkit to query Screen size. Toolkit toolKit = Toolkit.getDefaultToolkit().getScreenSize() Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/sv

[svg-developers] Re: get screen size in batik squiggle browser

2006-02-09 Thread Andreas Neumann
Hi Nathan, the svg root element has the .viewport attribute for that purpose which is implemented in Batik. See the file below. a good resource to view the available SVG DOM methods and properties is btw http://phrogz.net/ObjJob/object.asp?id=133 - there aren't comments, but at least yo

[svg-developers] Re: get screen size in batik squiggle browser

2006-02-08 Thread Martin Honnen
--- In svg-developers@yahoogroups.com, "sent1729" <[EMAIL PROTECTED]> wrote: > Is it possible to get the windows screen size(width and height in > pixles), in batik squiglle browser. For ex: in IE using javascript we > can say screen.width and screen.height to access the windows screen > si