AAAAAAAAAAAAAAAAAAAAAAAAA
// Polygon
//
function polygon($image,$thing,$objectscale,$acolor,$bcolor,$scale,$x,$y)
{
if ($thing=="sar") $points = array(0,-1,2,0,-2,0);
if ($thing=="tar") $points = array(0,-1,1,0,2,0,1,1,2,2,-2,2,-1,1,-2,0,-1,0);
if ($thing=="star") $points = array(0,0,1,3,3,1,3,4,6,7,3,9,3,12,1,9,
0,13,-1,9,-3,12,-3,9,-6,7,-3,4,-3,1,-1,3);
if ($thing=="uparrow") $points = array(0,0, 1,1, .25,1, .5,2 , -.5,2
,-.25,1, -1,1);
if ($thing=="downarrow") $points = array(0,0, 1,-1, .25,-1, .5,-2 , -.5,-2
,-.25,-1, -1,-1);
$numpoints=count($points)/2;
for ($i=0; $i<=$numpoints; $i++) {
$points[$i*2]=$scale*(($points[$i*2]*$objectscale)+$x);
$points[$i*2+1]=$scale*(($points[$i*2+1]*$objectscale)+$y);
}
$red = hexdec(substr($acolor,0,2));
$grn = hexdec(substr($acolor,2,2));
$blu = hexdec(substr($acolor,4,2));
$a = ImageColorAllocate($image,$red,$grn,$blu);
if ($bcolor != "") {
$red = hexdec(substr($bcolor,0,2));
$grn = hexdec(substr($bcolor,2,2));
$blu = hexdec(substr($bcolor,4,2));
$b = ImageColorAllocate($image,$red,$grn,$blu);
}
Imagefilledpolygon($image,$points,$numpoints,$a);
if ($bcolor != "") {
Imagepolygon($image,$points,$numpoints,$b);
}
}
BBBBBBBBBBBBBBBBBBBBBBBBBBBB
CCCCCCCCCCCCCCCCCCCCCCCC
function polygon($image,$thing,$objectscale,$acolor,$bcolor,$scale,$x,$y) {}
DDDDDDDDDDDDDDDDDDDDDDDD
$inthemenu = "no";
$dirlist= array("NA");
$lenlist= array("NA");
$txtitem="AAAAAA";
EEEEEEEEEEEEEEEEEEEEEEEEEEEEE