function pChart::pChart in Visitors 8
Same name and namespace in other branches
- 7.0 pchart/pChart.inc \pChart::pChart()
File
- pchart/
pChart.inc, line 147
Class
Code
function pChart($XSize, $YSize) {
$this->XSize = $XSize;
$this->YSize = $YSize;
$this->Picture = imagecreatetruecolor($XSize, $YSize);
$C_White = imagecolorallocate($this->Picture, 255, 255, 255);
imagefilledrectangle($this->Picture, 0, 0, $XSize, $YSize, $C_White);
imagecolortransparent($this->Picture, $C_White);
$this
->setFontProperties("tahoma.ttf", 8);
}