in reply to Dumping Tk canvas to postscript
The defaults for -height and -width are the full hw size of the canvas widget so you should just be able to:
my $ps = $canvas->postscript( '-pagewidth' => "8 i" );
and it will x:y symetrical scale to give a result 8 inches wide and X high. I presume you have tried this? The bbox (bounding box) co-ords are noted in the docs to be *approximate* ie (Returns a list with four elements giving an approximate bounding box for all the items named by the tagOrId arguments) which appears to be what you are seeing.
cheers
tachyon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Dumping Tk canvas to postscript
by TooNewbie (Acolyte) on Mar 15, 2004 at 14:25 UTC | |
by eserte (Deacon) on Mar 16, 2004 at 12:49 UTC | |
by TooNewbie (Acolyte) on Mar 16, 2004 at 16:56 UTC | |
by eserte (Deacon) on Mar 16, 2004 at 18:24 UTC |