SVG.pm version 0.50 12 October 2001 SVG.pm is a perl extention to generate stand-alone or inline SVG (scaleable vector graphics) images using the W3C SVG xml recommendation. Refer to the pod for full documentation and an example script, or to http://roasp.com/SVG.html . The pod resides in SVG::manual (c) 2001 Ronan Oger, RO IT Systems, GmbH ronan@roasp.com This software is provided as is and without warranty. It is freely distributed under the general perl license. CONTENTS -------- OVERVIEW DOCUMENTATION POD in HTML format Tutorials INSTALLATION *NIX AND WIN32 SYSTEMS WITH MAKE OR EQUIVALENT WIN32 SYSTEMS WITHOUT MAKE OR EQUIVALENT EXAMPLES KNOWN BUGS -------- OVERVIEW SVG.pm makes it possible to generate fully-functional SVG images in perl. 100% of the SVG tags are supported. DOCUMENTATION ------------- The following documentation is available: POD in HTML format Version 1.10 POD 17 October, 2001 http://roasp.com/SVG.html http://roasp.com/tutorial/ http://test.hackmare.com/tutorial/ INSTALLATION ------------ The easiest way to do this if your systems supports it is to use the perl CPAN module: Installation Without using the perl CPAN module ---------------------------------- First download the tar file Make sure you have the latest version by going to ftp://test.hackmare.com/pub/Current ftp://roasp.com/pub/Current UNIX, LINUX, BSD, OSX and WINDOWS with tar, a make program, and a c compiler ---------------------------------------------------------------------------- on the command line, type: tar -xvfz SVG-0.20.tar.gz perl Makefile.PL make make test make install WIN32 SYSTEMS WITHOUT nmake --------------------------- win32 note: There is no ppm yet for this module. You need to either install it using nmake or you have to install to a local dirctory and explicitly call the module by using one of the following line in your calling program: #using use lib use lib 'path/where/the/release/is/located'; -or- #using BEGIN block BEGIN { push @INC 'path/to/svg.pm/file'; #where the SVG.pm file lives push @INC 'path/to/svg.pm/file/SVG'; # where the Utils.pm file lives } ------------------------ EXAMPLES The following files are supplied as example scripts: examples/svgtest2.pl examples/SVG_02_sample.pl examples/image_sample.pl examples/inline_sample.pl examples/yaph5.cgi examples/starpath.cgi examples/svg.pl examples/sun_text_sample.pl examples/svg.pl examples/inlinesvg.pl These files are installed where the SVG directory lives in the perl installation. ------------------------ KNOWN BUGS 07.10.01 When generating a path element by directly inputing the string data the path definition (d=>'M 1 1 L 2 2...'), rather than the hash output of the get_path method, the string must contain no new-line characters. 09.10.01 Does not support the path element d definition 'A' or 'a' SUPPORT More information is available from http://roasp.com ------------------------