xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Ai <lai43...@yahoo.com>
Subject add an additional attribute to the svg tag
Date Fri, 01 Aug 2003 16:36:49 GMT
Hi all:

    I want to add an additional attribute to the top
level svg tag:
   
    <svg .... viewBox="0 0 452 567" ...>

    Here is what I have done:
    
    after g2d is painted

    Element svgRoot = g2d.getRoot();
   
svgRoot.setAtttribute(SVGGraphics2D.SVG_VIEW_BOX_ATTRIBUTE,
"0 0 452 567");

    g2d.stram(outWriter, true);

    This is not working.

    Any suggestions?

    Thanks!

Larry

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.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