Graph($aWidth,$aHeight,$aCachedName,$timeout,$inline); } //--------------- // PUBLIC METHODS function InitFrame() { $this->StrokePlotArea(); } // Method description function Stroke($aStrokeFileName="") { if( $this->texts != null ) { for($i=0; $itexts); ++$i) { $this->texts[$i]->Stroke($this->img); } } $this->StrokeTitles(); // Should we do any final image transformation if( $this->iImgTrans ) { if( !class_exists('ImgTrans') ) { require_once('jpgraph_imgtrans.php'); } $tform = new ImgTrans($this->img->img); $this->img->img = $tform->Skew3D($this->iImgTransHorizon,$this->iImgTransSkewDist, $this->iImgTransDirection,$this->iImgTransHighQ, $this->iImgTransMinSize,$this->iImgTransFillColor, $this->iImgTransBorder); } // If the filename is given as the special _IMG_HANDLER // then the image handler is returned and the image is NOT // streamed back if( $aStrokeFileName == _IMG_HANDLER ) { return $this->img->img; } else { // Finally stream the generated picture $this->cache->PutAndStream($this->img,$this->cache_name,$this->inline,$aStrokeFileName); return true; } } } // Class /* EOF */ ?>