<?
#corner
header("Content-type: image/gif");
$im = ImageCreate(500,500);
$yellow = ImageColorAllocate($im,255,255,0);
$blue   = ImageColorAllocate($im,0x2c,0x6D,0xCF);
$red    = ImageColorAllocate($im,255,0,0);
$pts[0] = 0;   $pts[1]=0;
$pts[2] = 100; $pts[3]=0;
$pts[4] = 0;   $pts[5]=100;
ImageFilledPolygon($im,$pts,3,$yellow);
ImageLine($im,0,100,100,0,$red);
ImageTTFText($im,30,45,14,75,$blue,"/usr/fonts/times.ttf",$msg);
ImageArc($im,20,20,20,20,0,360,$red);
ImageFill($im,20,20,$red);
ImageTTFText($im,30,0,13,31,$yellow,"/usr/fonts/times.ttf","@");
ImageGif($im);
?>
<a href=../php2txt.php?graphics/poly.php>Source</a>