<?php
header('Content-Type: image/png');
require('gdExtImage.class.php');
$dim = new gdExtImage(NULL, 100, 100);
$dim->rect(50, 50, 80, 80, array(50,50,90));
$dim->rect(0, 0, 30, 30, array(50,50,90));
$dim->roundrect(30,30,50,50,5,array(5,5,200));
$dim->text(2, 0, 40, 'GD');
$dim->text(2,10,50,'Library',array(5,200,5),TRUE);
$dim->save();
?>
|