Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
t
 
 
 
 
 
 
 
 
 
 
 
 

README.md

This is a Perl 6 module that makes it easy to write Scalable Vector Graphic files, short SVG.

Right now it is a shallow wrapper around XML::Writer, adding only the xmlns attributes that identifies an XML file as SVG.

For building an running the tests, we recommend to obtain zef and then run

$ zef install SVG

You can then use it like this:

use SVG;
say SVG.serialize(
    svg => [
        width => 100, height => 10,
        :rect[:x<5>, :y<5>, :width<90>, :height<90>, :stroke<black>],
    ],
);

Author: Moritz Lenz License: Artistic License 2.0

About

SVG writing module for Perl 6

Resources

License

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •  

Languages

  • Other 100.0%
You can’t perform that action at this time.