GD::SGFGD::SGF is a Perl module to simplify SGF game rendering using GD::Image. | |
Download |
GD::SGF Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Orien Vandenbergh
- Publisher web site:
- http://search.cpan.org/~orien/Games-Go-SGF2misc-SVG-1.00/lib/Games/Go/SGF2misc/SVG.pm
GD::SGF Tags
GD::SGF Description
GD::SGF is a Perl module to simplify SGF game rendering using GD::Image. GD::SGF is a Perl module to simplify SGF game rendering using GD::Image.SYNOPSIS use Games::Go::SGF2misc::GD; my $image = new Games::Go::SGF2misc::GD('imagesize' => 256, 'boardsize' => 19, 'antialias' => 1 ); $image->gobanColor(127,127,127); $image->drawGoban(); $image->placeStone('b','cd'); $image->placeStone('w',); $image->placeStone('b','db'); $image->placeStone('w','dc'); $image->placeStone('b','cc'); $image->placeStone('w','eb'); $image->placeStone('b','cb'); $image->addCircle('cb',1); $image->save($filename);Games::Go::SGF2misc::GD is a Perl Wrapper for the GD.pm module. It simplifies the process of rendering an image from an SGF file. It is however still a primitive interface, in that it does not contain any internal intellegence about how to process an SGF file, this is merely designed to be used in conjunction with an SGF reader such as Games::Go::SGF2misc or Games::Go::SGF. Requirements: · Perl
GD::SGF Related Software