xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steiner, Dominik" <Dominik.Stei...@gigatronik.com>
Subject AW: Need help to fit svg images into fixed diemension JSVGCanvas?
Date Fri, 19 Aug 2005 12:48:23 GMT
Hi Francesco,

I think that once your svgdocument is loaded you have to do all changing
of the dom tree with the updatemanager

          new Runnable() {
            public void run() {
		//do your changes here
	"0 0 400 400");


And you should do that change once your svgdocument has loaded which you
get adding an SVGDocumentLoaderListener


      public void documentLoadingStarted(SVGDocumentLoaderEvent e) {

      public void documentLoadingCompleted(SVGDocumentLoaderEvent e) {
		// here the svgdocument is loaded and you can change the
attribute here

      public void documentLoadingCancelled(SVGDocumentLoaderEvent e) {

      public void documentLoadingFailed(SVGDocumentLoaderEvent e) {

Greeting from Germany


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

View raw message