perl-Image-SVG-Path-0.32-alt1.noarch.rpm


Advertisement

Description

perl-Image-SVG-Path - read the "d" attribute of an SVG path

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Image-SVG-Path
Package version 0.32
Package release alt1
Package architecture noarch
Package type rpm
Installed size 49.78 KB
Download size 49.78 KB
Official Mirror ftp.altlinux.org
This module extracts information contained in the "d" attribute of an
SVG <path> element and turns it into a simpler series of steps.
For example, an SVG <path> element might take the form
<path d="M9.6,20.25c0.61,0.37,3.91,0.45,4.52,0.34c2.86-0.5,14.5-2.09,21.37-2.64c0.94-0.07,2.67-0.26,3.45,0.04"/>
Using an XML parser, such as the XML::Parser manpage,
use XML::Parser;
use Image::SVG::Path 'extract_path_info';
my $p = XML::Parser->new (Handlers => {Start => \& start});
$p->parsefile ($file)
or die "Error $file: ";
sub start
{
my ($expat, $element, %attr) = @_;
if ($element eq 'path') {
my $d = $attr{d};
my @r = extract_path_info ($d);
}
}
SVG means "scalable vector graphics" and it is a standard of the W3
consortium. See http://www.w3.org/TR/SVG/ for the full
specification. See http://www.w3.org/TR/SVG/paths.html for the
specification for paths. Although SVG is a type of XML, the text in
the d attribute of SVG paths is not in the XML format but in a more
condensed form using single letters and numbers. This module is a
parser for that condensed format.

Alternatives

Package Version Architecture Repository
perl-Image-SVG-Path - - -

Requires

Name Value
/usr/share/perl5 -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Image/SVG/Path.pm) = 0.320
perl-Image-SVG-Path = 0.32-alt1

Download

Type URL
Binary Package perl-Image-SVG-Path-0.32-alt1.noarch.rpm
Source Package perl-Image-SVG-Path-0.32-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Image-SVG-Path rpm package:
    # sudo apt-get install perl-Image-SVG-Path

Files

Path
/usr/share/doc/perl-Image-SVG-Path-0.32/Changes
/usr/share/doc/perl-Image-SVG-Path-0.32/README
/usr/share/doc/perl-Image-SVG-Path-0.32/examples/Home_for_the_aged.svg
/usr/share/doc/perl-Image-SVG-Path-0.32/examples/extract-path-info.pl
/usr/share/doc/perl-Image-SVG-Path-0.32/examples/synopsis.pl
/usr/share/doc/perl-Image-SVG-Path-0.32/examples/test-reverse.pl
/usr/share/doc/perl-Image-SVG-Path-0.32/examples/xml-parser.pl
/usr/share/perl5/Image/
/usr/share/perl5/Image/SVG/Path.pm
/usr/share/perl5/Image/SVG/Path.pod

See Also

Package Description
perl-Image-SVG-Transform-0.08-alt1.noarch.rpm read the "transform" attribute of an SVG element
perl-Image-Select-0.04-alt1.noarch.rpm Perl class for creating image from images directory
perl-Image-Shoehorn-1.42-alt1.noarch.rpm massage the dimensions and filetype of an image
perl-Image-Simple-Gradient-0.05-alt1.noarch.rpm perl module Image-Simple-Gradient
perl-Image-Size-FillFullSelect-0.1.0-alt1.noarch.rpm perl module Image-Size-FillFullSelect
perl-Image-Term256Color-0.05-alt1.noarch.rpm Display images in your 256 color terminal! (kinda)
perl-Image-Term256Color-scripts-0.05-alt1.noarch.rpm Image-Term256Color scripts
perl-Image-TextMode-0.25-alt1.noarch.rpm Create, manipulate and save text mode images
perl-Image-TextMode-scripts-0.25-alt1.noarch.rpm Image-TextMode scripts
perl-Image-ThousandWords-0.10-alt1.noarch.rpm convert an image to colored HTML text
perl-Image-Thumbnail-0.66-alt1.noarch.rpm Simple thumbnails with various Perl libraries
perl-Image-Tileset-0.01-alt1.noarch.rpm A tileset loader
perl-Image-Timeline-0.11-alt1.noarch.rpm Create GIF or PNG timelines
perl-Image-VisualConfirmation-0.10007-alt1.noarch.rpm Add anti-spam CAPTCHA ( visual confirmation/challenge) to your web forms
perl-Image-WMF-1.03-alt1.noarch.rpm perl module Image-WMF
Advertisement
Advertisement