Thomas,

Thank you for reply...I can know continue my exploration .....

We all learn by sharing what we know
Robert A. DiBlasi
Http://www.svgnotebook.com


>From: Thomas E Deweese <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: SVGGraphics2D .....Are the attributes on the <svg> element hard 
>coded?
>Date: Mon, 12 Aug 2002 13:28:17 -0400
>
> >>>>> "RD" == Robert D <[EMAIL PROTECTED]> writes:
>
>RD> If you output SVGGraphics2D without adding anything to the W3 DOM
>RD> Document object .
>
>
>rD> <svg xmlns:xlink="http://www.w3.org/1999/xlink"; style="fill-opacity:1;
>RD> color-rendering:auto; color-interpolation:auto;
>RD> text-rendering:auto; stroke:black; stroke-linecap:square; str
>RD> oke-miterlimit:10; shape-rendering:auto; stroke-opacity:1;
>RD> fill:black; stroke-dasharray:no ne; font-weight:normal;
>RD> stroke-width:1; font-family:&apos;sansserif&apos;; font-style:norm
>RD> al; stroke-linejoin:miter; font-size:12; stroke-dashoffset:0;
>RD> image-rendering:auto;" xmlns="http://www.w3.org/2000/svg";>
>RD> <!--Generated by the Batik Graphics2D SVG Generator--> <defs
>RD> id="genericDefs" /> <g /> </svg>
>
>     [...]
>
>RD> Where in the SVGGraphics class do the attributes to the <svg>
>RD> element get put on the <svg> element ?
>
>     They are added by DOMTreeManager.applyDefaultRenderingStyle
>(called from DOMTreeManager.getRoot(..)).
>
>     It gets the list of properties to set from the 'defaultGC' which
>is initialized from the GraphicsContext passed into the
>DOMTreeConstructor from SVGGraphics2D.setGeneratorContext(...), which
>can get initialized from the GeneratorContext passed in to the
>SVGGraphics2D, but generally just takes the defaults from:
>                ...batik.ext.awt.g2d.GraphicsContext object (which
>has them hard coded).
>
>RD> I can creat a document object with this:
>
>RD> Document Document = DOMImplementation.createDocument(null, "rat",
>RD> null );
>
>RD> and I still get the same output.....<svg> element :-(....it should
>RD> be rat....(even though I know that would be wrong)...are the
>RD> attributes on the svg element hard coded?
>
>RD> Any help would be great.....I really want to understand what is
>RD> going on under the hood ;-)
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>




Robert A. DiBlasi


_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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

Reply via email to