Exemple #1
0
        echo $fill;
        ?>
"/>
			</svg>
		<?php 
    }
    /* will create one svg with all info in it */
    public function drawImage()
    {
        // connect to the database
        // create the svg
        // loop out bars or whatever
        // end the svg
    }
}
$change = new manipulate();
// echo "<p>Server Query: " . $change->sql . "</p>";
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<!-- a page for image creation on the fly -->
	<meta charset="utf-8" />
	<title>SVG sample - now with table ...</title>
	<style>
		img {
			display: block;
			margin: auto;
		}
		td {
			vertical-align: bottom;
Exemple #2
0
        echo $height;
        ?>
" 
					  width="<?php 
        echo $width;
        ?>
"
					  style="stroke:#ff0000; fill: <?php 
        echo $fill;
        ?>
"/>
			</svg>
		<?php 
    }
}
$change = new manipulate();
/* $change->drawSquare('35','333', 'violet'); */
?>

<!DOCTYPE html>
<html lang="en">
<head>
	<!-- a page for image creation on the fly -->
	<meta charset="utf-8" />
	<title>SVG sample - now with table ...</title>
	<style>
		img {
			display: block;
			margin: auto;
		}
		td {