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: 8 years 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="">
            <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=''>SVG</a> means <strong>Scalable Vector graphics</strong>, it a XML based, open-source vector graphics supported by various drawings programs like <a href="">Inkscape</a>, Corel Draw and Adobe Illustrator.
            PhpSVG is a multipurpose library to create or edit SVG using Object Oriented <a href="">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="">SimpleXmlElement</a>
            <a href="">Gzip support</a>
            <a href="">Imagemagick extension<a/>
                <a href="">PHP-GD</a>
        <a href='doc/html/index.html'>Documentation.</a>&nbsp;
        <a href=''>Source code.</a>&nbsp;
        <a href=''>Author's blog.</a>&nbsp;
        <a href=''>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=""></a>