Hi,
I searched for this, too and spent hours, but did not find anything. For
SVGPoints there is matrixTransform(), as documented at the bottom of
http://xmlgraphics.apache.org/batik/using/scripting/java.html. But with
other (SVG)Elements, I am doing this in plain xml attributes:
String
Hi Michael,
Kerschbaum Michael m.kerschb...@pke.at wrote on 06/17/2009 09:06:53
AM:
If this image is very big some MB sometimes Batik shows the default
image and sometimes not ?! I mean sometimes it is possible that the
png is loaded and sometimes not. hmmm... Is it sometime with the
Hi Thomas,
of course I can. The code shown in the mail before outputs for example
this (reformatted):
?xml version=1.0?
!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN'
'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'
svg xmlns=http://www.w3.org/2000/svg;
Hi Heinz,
Heinz Doerr heinz.do...@ecoms.de wrote on 06/09/2009 04:42:49 PM:
But for a doc w/o a ViewBox specified I need the size of the
document.
But I have a few questions:
=
* Overall, how far away is my 90% solution from 100% ???
As I stated - I'm not sure
Paul Wellner Bou p...@purecodes.org wrote on 06/19/2009 02:22:02 AM:
[...] with other (SVG)Elements, I am doing this in plain xml attributes:
String transformMatrix= matrix( + mat.getA() + + mat.getB() +
+ mat.getC() + + mat.getD() + + mat.getE() +
+ mat.getF() +
Hi Paul,
there is a nice getBBox() method for SVGLocatable, which works quite well
(at least with Batik 1.8), although it is tricky and not really documented.
Well, I wouldn't say tricky: that method is part of the SVG DOM and
therefore it's better documented within the specification [1].