Skip to content

moritz/svg

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages

  • Other 100.0%