xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tonny Kohar <to...@kiyut.com>
Subject Re: Document resizing according to the canvas size.
Date Thu, 14 Oct 2004 19:05:36 GMT
Hi,

> I would like to create a document that will cover at least all
> available space on the canvas even when the canvas is resizing. Should
> I do this with the canvas size listeners and consequent invocation of
> the document.getDocumentElement().setAttributeNS() in order to change
> height and width attributes or some other more elegant way exists.

Try using width & height 100% and viewbox, then you do not need to do
programmatically. That's the beauty of SVG and Vector Graphics.

Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message