Catherine's Drawing

drawing

SLAVE CODE FOLLOWS

<?php
$image 
imagecreate(300300);

// Set the vertices of polygon
$values = array(
50,  50,  // Point 1 (x, y)
50250,  // Point 2 (x, y)
25050,  // Point 3 (x, y)
250,  250 // Point 3 (x, y)
);
// Set the background color of image
$background_color imagecolorallocate($image,  118181197);

// Fill background with above selected color
imagefill($image00$background_color);

// Allocate a color for the polygon
$image_color imagecolorallocate($image255255255);

// Draw the polygon
imagepolygon($image$values4$image_color);

// Output the picture to the browser
header('Content-type: image/png');

imagepng($image);
?>