NAME
App::MathImage::Image::Base::SVG -- SVG image file output
SYNOPSIS
use App::MathImage::Image::Base::SVG;
my $image = App::MathImage::Image::Base::SVG->new (-width => 100,
-height => 100);
$image->rectangle (0,0, 99,99, 'b');
$image->xy (20,20, 'o');
$image->line (50,50, 70,70, 'o');
$image->line (50,50, 70,70, 'o');
$image->save ('/some/filename.rle');
CLASS HIERARCHY
App::MathImage::Image::Base::SVG is a subclass of Image::Base,
Image::Base
App::MathImage::Image::Base::SVG
DESCRIPTION
App::MathImage::Image::Base::SVG extends Image::Base to create SVG format image files.
The colour names are ...
FUNCTIONS
$image = App::MathImage::Image::Base::SVG->new (key=>value,...)-
Create and return a new image object. A new image can be started with
-widthand-height,$image = App::MathImage::Image::Base::SVG->new (-width => 200, -height => 100); $image->save ()$image->save ($filename)-
Save the image to an SVG file, either the current
-fileoption, or set that option to$filenameand save to there.