SVG::SVG2zinc 0.10
Sponsored Links
SVG::SVG2zinc 0.10 Ranking & Summary
File size:
0.13 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1168
Date added:
2006-08-16
Publisher:
Christophe Mertz
SVG::SVG2zinc 0.10 description
SVG::SVG2zinc is a Perl module to display or convert svg files in scripts, classes, images...
SYNOPSIS
use SVG::SVG2zinc;
&SVG::SVG2zinc::parsefile(file.svg, Backend,file.svg,
-out => outfile,
-verbose => $verbose,
-namespace => 0|1,
-prefix => string,
);
# to generate a Perl script:
&SVG::SVG2zinc::parsefile(file.svg,PerlScript,
-out => file.pl);
# to generate a Perl Class:
&SVG::SVG2zinc::parsefile(file.svg,PerlClass,
-out => Class.pm);
# to display a svgfile:
&SVG::SVG2zinc::parsefile(file.svg, Display);
#To convert a svgfile in png/jpeg file:
&SVG::SVG2zinc::parsefile(file.svg, Image,
-out => file.jpg);
# to generate a Tcl script:
&SVG::SVG2zinc::parsefile(file.svg,TclScript,
-out => file.tcl);
Depending on the used Backend, &SVG::SVG2zinc::parsefile either generates a Perl Class, Perl script, Tcl Script, bitmap images or displays SVG files inside a Tk::Zinc widget.
SVG::SVG2zinc could be extended to generate Python scripts and/or classes, or other files, just by sub-classing SVG::SVG2zinc::Backend(3pm)
==head1 HOW IT WORKS
This converter creates some TkZinc items associated to most SVG tags. For example, < SVG > or < G > tags are transformed in TkZinc groups.
are converted in TkZinc curves.... many more to come...
==head2 TkZinc items tags
Every TkZinc item created by the parser get one or more tags. If the corresponding svg tag has an Id, this Id will be used as a tag, after some cleaning due to TkZinc limitation on tag values (no dot, star, etc...). If the corresponding svg tag has no Id, the parser add a tag of the following form : __< itemtype >__< integer >. If the parser is provided a -prefix option, the prefix is prepended to the tag:
__< itemtype >__< integer >
The TkZinc group associated to the top tag has the following tag svg_top, as well as width=integer heigth=integer tags if width and height are defined in the top < SVG > tag. These tags can be used to find the group and to get its desired width and height.
==head2 RunTime code
There is currently on new Tk::Zinc method needed when executing perl code generated. This perl Tk::Zinc::adaptViewport function should be translated and included or imported in any script generated in an other scripting language (eg. Tcl or Python).
SYNOPSIS
use SVG::SVG2zinc;
&SVG::SVG2zinc::parsefile(file.svg, Backend,file.svg,
-out => outfile,
-verbose => $verbose,
-namespace => 0|1,
-prefix => string,
);
# to generate a Perl script:
&SVG::SVG2zinc::parsefile(file.svg,PerlScript,
-out => file.pl);
# to generate a Perl Class:
&SVG::SVG2zinc::parsefile(file.svg,PerlClass,
-out => Class.pm);
# to display a svgfile:
&SVG::SVG2zinc::parsefile(file.svg, Display);
#To convert a svgfile in png/jpeg file:
&SVG::SVG2zinc::parsefile(file.svg, Image,
-out => file.jpg);
# to generate a Tcl script:
&SVG::SVG2zinc::parsefile(file.svg,TclScript,
-out => file.tcl);
Depending on the used Backend, &SVG::SVG2zinc::parsefile either generates a Perl Class, Perl script, Tcl Script, bitmap images or displays SVG files inside a Tk::Zinc widget.
SVG::SVG2zinc could be extended to generate Python scripts and/or classes, or other files, just by sub-classing SVG::SVG2zinc::Backend(3pm)
==head1 HOW IT WORKS
This converter creates some TkZinc items associated to most SVG tags. For example, < SVG > or < G > tags are transformed in TkZinc groups.
==head2 TkZinc items tags
Every TkZinc item created by the parser get one or more tags. If the corresponding svg tag has an Id, this Id will be used as a tag, after some cleaning due to TkZinc limitation on tag values (no dot, star, etc...). If the corresponding svg tag has no Id, the parser add a tag of the following form : __< itemtype >__< integer >. If the parser is provided a -prefix option, the prefix is prepended to the tag:
The TkZinc group associated to the top tag has the following tag svg_top, as well as width=integer heigth=integer tags if width and height are defined in the top < SVG > tag. These tags can be used to find the group and to get its desired width and height.
==head2 RunTime code
There is currently on new Tk::Zinc method needed when executing perl code generated. This perl Tk::Zinc::adaptViewport function should be translated and included or imported in any script generated in an other scripting language (eg. Tcl or Python).
SVG::SVG2zinc 0.10 Screenshot
SVG::SVG2zinc 0.10 Keywords
SVG2zinc
SVG
TkZinc
SVG2zinc 0.10
convert svg files
svg files
to display
to generate
Perl module
Files In
convert svg
Perl
tag
files
display
tags
Bookmark SVG::SVG2zinc 0.10
SVG::SVG2zinc 0.10 Copyright
WareSeeker periodically updates pricing and software information of SVG::SVG2zinc 0.10 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of SVG::SVG2zinc 0.10 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Data::Stag is a Perl module with structured tags datastructures. Free Download
MfGames.Sprite is a library for loading, managing, and rendering sprites from JPEG, PNG, and SVG files. Free Download
SVG::Parser is a Perl module with XML Parser for SVG documents. Free Download
id3ren is used to rename batches of mp3 files by reading the ID3 tag at the end of the file. Free Download
NAFE is a tool to write and edit Linux console font files (.psf) with any text editor. Free Download
GNoise is a wave file editor for Linux. Free Download
TagUtil is an easy-to-use tagging utility that enables easy insertion of tags into a blog post. Free Download
ID3iconv is a little Java command line tool to convert ID3 tags in mp3 files from whatever machine encoding you have to Unicode. Free Download
Latest Software
Popular Software
Favourite Software