batik-users@xmlgraphics.apache.org
[Top] [All Lists]

Re: Multi page print support

Subject: Re: Multi page print support
From: Tonny Kohar
Date: Sat, 27 May 2006 10:55:35 +0700
Hi,
On Tue, 2006-05-23 at 03:57 -0700, Sudhakar S wrote:
> > How are you communicating the scale factor from the "customized viewer" 
> > to the print transcoder?  Isn't it just a matter of multiplying the root 
> > SVG element's width/height by this scale factor? 
> 
> Actually i dont know how to communicate scale factor from "customized
> viewer" 
> to the print transcoder? Multiplying "root.getCurrentScale()" with SVG
> element's width/height is enough to find the scaled width and height?

There are several options on the print transcoder that you might be
interested like width, height, max width, max height, area of interest
(AOI) that you could play around to see the effect / differences. 

You also might clone the svg document, then set the width / height of
the cloned document to be size you want.

Regards
Tonny Kohar

-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: batik-users-help@xxxxxxxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>