Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

SVG::Convert
The fantastic new SVG::Convert!

SVG::Convert - The fantastic new SVG::Convert!


NAME

SVG::Convert - The fantastic new SVG::Convert!


VERSION

version 0.02


SYNOPSIS


  use SVG::Convert;

  

  my $svgconv = SVG::Convert->new();

  print $svgconv->convert(format => "xaml", src_file => "examples/01.svg", output => "string");


METHODS

new

Constructor. The ``$args'' arguments is HASHREF. See below more details about $args.

driver_opts
The driver_opts parameter is HASHREF. The keys of HASHREF are lower-cased suffix of driver module name.

For example, If driver is the SVG::Convert::XAML manpage, then the key is ``xaml''. The values of HASHREF are parameter needed by each of drivers.


  my $sconv = SVG::Convert->new({

    driver_opts => {

      xaml => {

        ## for Driver::XAML

      }

    }

  });

convert(%args)

See below about %args details.


  my $xaml_doc = $sconv->convert(

    format => "xaml",

    src_file => $src_file,

    output => "doc"

  );
format
The format parameter is string value represented format type for converting. This value is lower-cased suffix of driver module name.

For example, If the driver module is the SVG::Convert::Driver::XAML manpage, then this value is ``xaml''.

src_file
The src_file parameter is string value represented SVG source file name.

src_string
The src_file parameter is string value represented SVG source string.

src_doc
The src_doc parameter is the XML::LibXML::Document manpage object value represented SVG source document.

output
The output parameter is ``file'' or ``string'' or ``doc''.

output_file
The output_file parameter is output filename.

convert_opts
The convert_opts parameter is extra params for driver.


SEE ALSO

the Carp::Clan manpage
the Module::Load manpage
the Module::Pluggable::Fast manpage
the Params::Validate manpage
the Scalar::Util manpage
the XML::LibXML manpage
the SVG::Convert::Driver::XAML manpage
the SVG::Convert::Driver::PNG manpage


AUTHOR

Toru Yamaguchi, <zigorou@cpan.org>


BUGS

Please report any bugs or feature requests to bug-svg-convert@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.


COPYRIGHT & LICENSE

Copyright 2007 Toru Yamaguchi, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy