Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.862.587 Times

SVG::SVG2zinc 0.10

  Date Added: September 19, 2010  |  Visits: 679

SVG::SVG2zinc

Report Broken Link
Printer Friendly Version


Product Homepage
Download (74 downloads)



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)..

Requirements: No special requirements
Platforms: Linux
Keyword: Convert Svg Files Display Files Libraries Perl Perl Module Programming Scripts Svg Files Tag Tags Tkzinc
Users rating: 0/10

License: Freeware Size: 133.12 KB
USER REVIEWS
More Reviews or Write Review


SVG::SVG2ZINC RELATED
Libraries  -  Convert::yEnc::Decoder 1.02
Convert::yEnc::Decoder is a Perl module that decodes yEncoded files. SYNOPSIS use Convert::yEnc::Decoder; $decoder = new Convert::yEnc::Decoder; $decoder = new Convert::yEnc::Decoder $dir; $decoder->out_dir($dir); eval {...
57.34 KB  
Libraries  -  Convert::yEnc::RC 1.02
Convert::yEnc::RC is a Perl module for yEnc file-part database. SYNOPSIS use Convert::yEnc::RC; $rc = new Convert::yEnc::RC; $rc = new Convert::yEnc::RC $file; $ok = $rc->load; $ok = $rc->load($file); $ok = $rc->update ($line); @files...
56.32 KB  
Libraries  -  XML::Writer::Simple 0.01
XML::Writer::Simple is a Perl module to create XML files easily! SYNOPSIS use XML::Writer::Simple dtd => "file.dtd"; print para("foo",b("bar"),"zbr"); USAGE This module takes some ideas from CGI to make easier the life for those who need...
4.1 KB  
Libraries  -  GD::Map 1.00
GD::Map is Perl extension for creating geographic map files with GD. SYNOPSIS use GD::Map; my $m = GD::Map:new( basemap_path => "[required]", output_path => "[required]", verbose => 1, ); $m->set_basemap("northamerica");...
8.19 KB  
Libraries  -  IO::InSitu 0.0.2
IO::InSitu is a Perl module to avoid clobbering files opened for both input and output. SYNOPSIS use IO::InSitu; my ($in, $out) = open_rw($infile_name, $outfile_name); for my $line ( ) { $line =~ s/foo/bar/g; print {$out} $line; }...
6.14 KB  
Libraries  -  FileCache 5.8.8
FileCache is a Perl module to keep more files open than the system permits. SYNOPSIS use FileCache; # or use FileCache maxopen => 16; cacheout $mode, $path; # or cacheout $path; print $path @data; $fh = cacheout $mode, $path; # or...
12.2 MB  
Libraries  -  Dir::Purge 1.02
Dir::Purge is a Perl module to purge directories to a given number of files. SYNOPSIS perl -MDir::Purge -e purgedir (5, @ARGV) /spare/backups use Dir::Purge; purgedir ({keep => 5, strategy => "by_age", verbose => 1}, "/spare/backups");...
6.14 KB  
Libraries  -  XLSperl 0.4
XLSperl module allows you to use Perl "one-liners" with Microsoft Excel files. SYNOPSYS XLSperl [options] -e ... file1.xls file2.xls ... fileX.xls cat file.txt | XLSperl [options] -e ... Perl "one-liners" have a great many uses for quick...
9.22 KB  
Libraries  -  Audio:PSID 3.11
Audio:PSID is a Perl module to handle SID files (Commodore-64 music files). SYNOPSIS use Audio::SID; $mySID = new Audio::SID(-filename => Test.sid) or die "Whoops!"; print "Title = " . $mySID->get(title) . "n"; print "MD5 = " ....
22.53 KB  
Libraries  -  iCal::Parser 1.14
iCal::Parser is a Perl module to parse iCalendar files into a data structure. SYNOPSIS use iCal::Parser my $parser=iCal::Parser->new(); my $hash=$parser->parse($file); $parser->parse($another_file); my $combined=$parser->calendar; my...
28.67 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB