xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nielsen, Clinton" <Clinton_Niel...@Intuit.com>
Subject RE: exporting GradientPaint to .SVG
Date Thu, 03 Jul 2003 22:24:05 GMT
Hello again,

	Disregard this last message, I found my mistake. Though I must admit
that it still seems kinda funny to me that the batik svg exporter wouldn't
support a batik RadialGradientPaint extension. Also kinda weird that most of
the sample svg files that come with batik have a radial gradient of some
sort, meanwhile the batik code won't even export a radialgradient to an svg.
...hmmmm 

Thanks anyway

Tinclon


-----Original Message-----
From: Nielsen, Clinton [mailto:Clinton_Nielsen@Intuit.com]
Sent: Thursday, July 03, 2003 2:09 PM
To: 'Batik Users'
Subject: exporting GradientPaint to .SVG


 
Hello all,

I'm trying to export a circle with a linear gradient fill (using the
java.awt.GradientPaint) to an SVG File using batik 1.5beta5...

The exported svg file has this line in it...

 <circle style="fill:url(#linearGradient1); stroke:none;" r="26.5" cx="66.5"
cy="66.5" />

but is missing these lines... 
 
 <defs>
  <linearGradient id="linearGradient1" x1="68" y1="68" x2="88" y2="88">
     <stop offset="0%" style="stop-color: white;"/>
     <stop offset="100%" style="stop-color: red;"/>
  </linearGradient>
 </defs>
 
any clues on why it's not working?

Thanks

--Tinclon


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



---------------------------------------------------------------------
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