Image_3D
[ class tree: Image_3D ] [ index: Image_3D ] [ all elements ]

Source for file Driver.php

Documentation is available at Driver.php

  1. <?php
  2.  
  3. abstract class Image_3D_Driver {
  4.     
  5.     protected $_image;
  6.     
  7.     public function __construct({
  8.         $this->_image = null;
  9.     }
  10.     
  11.     abstract public function createImage($x$y);
  12.     abstract public function setBackground(Image_3D_Color $color);
  13.     abstract public function drawPolygon(Image_3D_Polygon $polygon);
  14.     abstract public function drawGradientPolygon(Image_3D_Polygon $polygon);
  15.     abstract public function save($file);
  16.     
  17.     public function getSupportedShading({
  18.         return array(Image_3D_Renderer::SHADE_NO);
  19.     }
  20. }
  21.  
  22. ?>

Documentation generated on Mon, 11 Mar 2019 14:17:15 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.