GD::SVG

GD::SVG seamlessly enable SVG output from scripts written using GD.
Download

GD::SVG Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Todd Harris
  • Publisher web site:
  • http://search.cpan.org/~twh/GD-SVG-0.28/SVG.pm

GD::SVG Tags


GD::SVG Description

GD::SVG seamlessly enable SVG output from scripts written using GD. GD::SVG seamlessly enable SVG output from scripts written using GD.SYNOPSIS # use GD; use GD::SVG; # my $img = GD::Image->new(); my $img = GD::SVG::Image->new(); # $img->png(); $img->svg();GD::SVG painlessly enables scripts that utilize GD to export scalable vector graphics (SVG). It accomplishes this task by wrapping SVG.pm with GD-styled method calls. To enable this functionality, one need only change the "use GD" call to "use GD::SVG" (and initial "new" method calls).EXPORTSGD::SVG exports the same methods as GD itself, overriding those methods.USAGEIn order to generate SVG output from your script using GD::SVG, you will need to first # use GD; use GD::SVG;After that, each call to the package classes that GD implements should be changed to GD::SVG. Thus: GD::Image becomes GD::SVG::Image GD::Font becomes GD::SVG::Font Requirements: · Perl


GD::SVG Related Software