[line 59]
Image_3D_Driver __construct( )
Initialises the environment
Overridden in child classes as:
void createImage( integer $x, integer $y)
Initialize the image with given width and height
void drawGradientPolygon( Image_3D_Polygon $polygon)
Draws a gauroud shaded polygon. Methd uses the colors of the polygones points and tries to create a gradient filling for the polygon.
void drawPolygon( Image_3D_Polygon $polygon)
Draws a flat shaded polygon. Methd uses the polygon color
array getSupportedShading( )
Return an array with the shading types the driver supports
void save( string $file)
Save image to file
void setBackground( Image_3D_Color $color)
Set the background for the image