Games::Go::Dg2TkPs 4.026 review
DownloadGames::Go::Dg2TkPs is a Perl extension to convert Games::Go::Diagrams to Postscript. SYNOPSIS use Games::Go::Dg2TkPs my $dg2p
|
|
Games::Go::Dg2TkPs is a Perl extension to convert Games::Go::Diagrams to Postscript.
SYNOPSIS
use Games::Go::Dg2TkPs
my $dg2ps = B (options);
my $canvas = $dg2ps->convertDiagram($diagram);
This is a real hack to get PostScript output from the Dg2Tk converter. All it does is use the built-in PostScript that a Tk::Canvas widget provides to convert the Dg2Tk canvas pages to PostScript. The resulting PostScript is fairly crude because the Canvas that it is drawn from is crude to begin with. See Games::Go::Dg2Ps for a better PostScript converter.
A Games::Go::Dg2TkPs inherits from Games::Go::Dg2Tk, and uses all its methods and options. The main difference is that after conversion to Tk is complete, each diagram Tk::Canvas is converted to PostScript via the Tk::Canvas->postscript method. Some minor massaging of the PostScript source is done to string the canvas pages together.
Requirements:
Perl
Games::Go::Dg2TkPs 4.026 keywords