PHP Classes

File: index.php

Recommend this page to a friend!
  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: 10 years ago
Size: 2,579 bytes
 

Contents

Class file image Download
<!doctype html>
<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
        <title>phpSVG - Multipurpose SVG create or edit lib</title>
    </head>
    <body>
        <a href="http://phpsvg.nostaljia.eng.br">
            <img src="example/resource/phpSVG.svg" style="width:70px;height:30px;float:left;"/>
            <h1>phpSVG</h1>
        </a>
        <p>
            Lib version:&nbsp;<?php echo file_get_contents( 'svglib/VERSION' ); ?> <a href="svglib/CHANGELOG">Changelog</a><p>
        <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.
        </p>
        <p>
            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>
        <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>
        <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>
        </p>
        <p><strong>Links</strong></p>
        <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>

        <p><strong>Examples</strong></p>
        <?php
       
if ( is_array( $examples = glob( 'example/*.php' ) ) )
        {
            foreach (
$examples as $info )
            {
               
$name = basename( $info );
                echo
"\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>
        </p>
    </body>
</html>