Login   Register  
PHP Classes

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Eduardo "Trial Force" Bonfandini  >  phpSVG  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: phpSVG
Create and edit vectorial graphics in SVG files
Author: By
Last change:
Date: 7 months ago
Size: 2,579 bytes


Class file image Download
<!doctype html>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
        <title>phpSVG - Multipurpose SVG create or edit lib</title>
        <a href="http://phpsvg.nostaljia.eng.br">
            <img src="example/resource/phpSVG.svg" style="width:70px;height:30px;float:left;"/>
            Lib version:&nbsp;<?php echo file_get_contents'svglib/VERSION' ); ?> <a href="svglib/CHANGELOG">Changelog</a><p>
            <a href='http://www.w3.org/TR/SVG/'>SVG</a> means <strong>Scalable Vector graphics</strong>, it a XML based, open-source vector graphics supported by various drawings programs like <a href="http://inkscape.org/">Inkscape</a>, Corel Draw and Adobe Illustrator.
            PhpSVG is a multipurpose library to create or edit SVG using Object Oriented <a href="http://php.net/">PHP</a> scripts.
            It's possible to edit a existent SVG document or create a new from scratch.
        <p><i>If you don't see the phpSVG logo you browsser don't have SVG view capabilities.</i></p>
        <p><strong>Pay attention:</strong><p>
        <p>This libs dependes on:</p>
            <a href="http://php.net/manual/en/class.simplexmlelement.php">SimpleXmlElement</a>
            <a href="http://php.net/manual/en/book.zlib.php">Gzip support</a>
            <a href="http://php.net/manual/en/book.imagick.php">Imagemagick extension<a/>
                <a href="http://php.net/manual/pt_BR/book.image.php">PHP-GD</a>
        <a href='doc/html/index.html'>Documentation.</a>&nbsp;
        <a href='http://code.google.com/p/phpsvg/'>Source code.</a>&nbsp;
        <a href='http://trialforce.nostaljia.eng.br/'>Author's blog.</a>&nbsp;
        <a href='http://www.phpclasses.org/package/7073-PHP-Create-and-edit-vectorial-graphics-in-SVG-files.html'>PHP Classes Innovation award;</a>

if ( is_array$examples glob'example/*.php' ) ) )
            foreach ( 
$examples as $info )
$name basename$info );
"\n        <a href='$info'>$name</a>&nbsp; - <a href='viewExample.php?example={$name}'>View source</a><br/>";

        <p>If you have some questions, mail me at
            <a href="mailto:trialforce@gmail.com">trialforce@gmail.com</a>