摘要:
class generatePNG { var $red = 0; var $grn = 0; var $blu = 0; function draw($name, $red=0, $grn=0, $blu=0) { $width = 16; $height = 16; $this->red = $red; $this->grn = $grn; $this->blu = $blu; $image = imagecreatetruecolor ( $width, $height ); $back = imagecolorallocate($image, 255, 255, 25 阅读全文