xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Cruzdal <ccruz...@yahoo.com>
Subject Re: Printing with Rendering Transform/Results
Date Tue, 02 Mar 2004 14:48:09 GMT

>     You can probably get this by transforming the
> JSVGCanva's bbox (0,0) -> (comp.w, comp.h) to the
> viewBox coordinate system.  This can be done by
> using canvas.getViewBoxTransform().

This works (kind of) when I print the JSVGComponent
using a method that gets the Graphics2d behind the
JSVGComponent and then directly uses the Java Printing
API without any interference of the Batik transcoder,
but has the big drawback that --- I guess because of
not using the transcoder --- the quality of the
printout is not very satisfying: it works for normal
A4 pages (about 30 cm high and 20 cm wide), but for A0
pages (about 120 cm high and 90 cm wide) the
resolution is just not enough.

Just to make sure, there is no way to just pass an
affine transformation to the PrintTranscoder which
then automagically applies this affine transformation?


Chris Cruzdal

Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster

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

View raw message