>>>>> "BF" == Bertrand Fontaine <[EMAIL PROTECTED]> writes:
BF> We are using SVGLocatable.getBBox() to determine the bounding box
BF> of various elements of an SVG file. Our understanding is that the
BF> returned SVGRect specifies the x, y, width and height information
BF> in user space. We would like now to convert from user space to SVG
BF> space in pixels in order to get the actual space that would be
BF> taken on screen. UnitProcessor sounds like the way to go but we
BF> experience problems using it. Could someone validate/clarify the
BF> process we intend to use, that looks the following so far:
I think you actually want the various matrix methods. In
particular SVGLocatible.getScreenCTM(). I think these are now
implemented in CVS Batik (but perhaps not for 1.5B3).
BF> a) Get a UnitProcessor.Context instance All methods of
BF> UnitProcessor require a UnitProcessor.Context instance as a
BF> parameter.
I don't think this is the way you want to go...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]