Class: awDriver
Source Location: /class/system/artichow/php5/inc/Driver.class.php
  
 
Draw your objects 
  
Author(s):
    
        
 | 
 | 
 | 
  
 
 
Class Details
  
 
 
Class Variables
 
 
Class Methods
   
	
	constructor __construct [line 81]
	
   
	
	method arc [line 233]
	
    
    
		void arc(
awColor
$color, awPoint
$center, int
$width, int
$height, int
$from, int
$to)
     |   
     |  
 
	
		Draw a color arc
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::arc()
 
		- Draw a color arc
 
	 
	
	
        Parameters:
    
        
   
   
	
	method copyImage [line 183]
	
   
	
	method copyResizeImage [line 195]
	
   
	
	method ellipse [line 255]
	
    
    
		void ellipse(
awColor
$color, awPoint
$center, int
$width, int
$height)
     |   
     |  
 
	
		Draw a colored ellipse
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::ellipse()
 
		- Draw a colored ellipse
 
	 
	
	
        Parameters:
    
        
   
   
	
	method filledArc [line 245]
	
    
    
		void filledArc(
awColor
$color, awPoint
$center, int
$width, int
$height, int
$from, int
$to)
     |   
     |  
 
	
		Draw an arc with a background color
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::filledArc()
 
		- Draw an arc with a background color
 
	 
	
	
        Parameters:
    
        
   
   
	
	method filledEllipse [line 265]
	
    
    
		void filledEllipse(
mixed
$background, awPoint
$center, int
$width, int
$height)
     |   
     |  
 
	
		Draw an ellipse with a background
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::filledEllipse()
 
		- Draw an ellipse with a background
 
	 
	
	
        Parameters:
    
        
   
   
	
	method filledPolygon [line 298]
	
    
    
		void filledPolygon(
mixed
$background, awPolygon
$polygon)
     |   
     |  
 
	
		Draw a polygon with a background
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::filledPolygon()
 
		- Draw a polygon with a background
 
	 
	
	
        Parameters:
    
        
   
   
	
	method filledRectangle [line 282]
	
    
    
		void filledRectangle(
mixed
$background, awLine
$line)
     |   
     |  
 
	
		Draw a rectangle with a background
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::filledRectangle()
 
		- Draw a rectangle with a background
 
	 
	
	
        Parameters:
    
        
   
   
	
	method get [line 312]
	
    
	
		Get the image as binary data
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::get()
 
		- Get the image as binary data
 
	 
	
	
        Parameters:
    
        
   
   
	
	method getColor [line 174]
	
    
	
		When passed a Color object, returns the corresponding  color identifier (driver dependant).
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::getColor()
 
		- When passed a Color object, returns the corresponding  color identifier (driver dependant).
 
	 
	
	
        Parameters:
    
        
   
   
	
	method getDriverString [line 333]
	
    
    
		string getDriverString(
)
     |   
     |  
 
	
		Return the string representing the type of driver
 Tags:
	
        
   
   
	
	method getSize [line 158]
	
    
	
		Get the size of the component handled by the driver
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::getSize()
 
		- Get the size of the component handled by the driver
 
	 
	
	
        
   
   
	
	method getTextHeight [line 326]
	
   
	
	method getTextWidth [line 319]
	
   
	
	method init [line 91]
	
    
	
		Initialize the driver for a particular awImage object
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::init()
 
		- Initialize the driver for a particular awImage object
 
	 
	
	
        Parameters:
    
        
   
   
	
	method initFromFile [line 99]
	
    
    
		void initFromFile(
awFileImage
$fileImage, string
$file)
     |   
     |  
 
	
		Initialize the Driver for a particular FileImage object
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::initFromFile()
 
		- Initialize the Driver for a particular FileImage object
 
	 
	
	
        Parameters:
    
        
   
   
	
	method isCompatibleWithFont [line 343]
	
   
	
	method line [line 221]
	
    
	
		Draw a colored line
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::line()
 
		- Draw a colored line
 
	 
	
	
        Parameters:
    
        
   
   
	
	method movePosition [line 132]
	
    
    
		void movePosition(
int
$x, int
$y)
     |   
     |  
 
	
		Move the position of the image
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::movePosition()
 
		- Move the position of the image
 
	 
	
	
        Parameters:
    
        
   
   
	
	method point [line 212]
	
   
	
	method polygon [line 290]
	
   
	
	method rectangle [line 274]
	
    
	
		Draw a colored rectangle
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::rectangle()
 
		- Draw a colored rectangle
 
	 
	
	
        Parameters:
    
        
   
   
	
	method send [line 305]
	
    
	
		Sends the image, as well as the correct HTTP headers, to the browser
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::send()
 
		- Sends the image, as well as the correct HTTP headers, to the browser
 
	 
	
	
        Parameters:
    
        
   
   
	
	method setAbsPosition [line 124]
	
    
    
		void setAbsPosition(
int
$x, int
$y)
     |   
     |  
 
	
		Inform the driver of the position of your image  This method need absolutes values
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::setAbsPosition()
 
		- Inform the driver of the position of your image  This method need absolutes values
 
	 
	
	
        Parameters:
    
        
   
   
	
	method setAbsSize [line 151]
	
    
    
		void setAbsSize(
int
$w, int
$h)
     |   
     |  
 
	
		Inform the driver of the size of your image  You can set absolute size with this method.
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::setAbsSize()
 
		- Inform the driver of the size of your image  You can set absolute size with this method.
 
	 
	
	
        Parameters:
    
        
   
   
	
	method setAntiAliasing [line 165]
	
    
    
		void setAntiAliasing(
$bool)
     |   
     |  
 
	
		Turn antialiasing on or off
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::setAntiAliasing()
 
		- Turn antialiasing on or off
 
	 
	
	
        Parameters:
    
        
   
   
	
	method setImageSize [line 107]
	
    
    
		void setImageSize(
int
$width, int
$height)
     |   
     |  
 
	
		Change the image size
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::setImageSize()
 
		- Change the image size
 
	 
	
	
        Parameters:
    
        
   
   
	
	method setPosition [line 115]
	
    
    
		void setPosition(
float
$x, float
$y)
     |   
     |  
 
	
		Inform the driver of the position of your image
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::setPosition()
 
		- Inform the driver of the position of your image
 
	 
	
	
        Parameters:
    
        
   
   
	
	method setSize [line 142]
	
    
    
		array setSize(
int
$w, int
$h)
     |   
     |  
 
	
		Inform the driver of the size of your image  Height and width must be between 0 and 1.
 Tags:
	Overridden in child classes as: 
		 
	- awMingDriver::setSize()
 
		- Inform the driver of the size of your image  Height and width must be between 0 and 1.
 
	 
	
	
        Parameters:
    
        
   
   
	
	method string [line 204]
	
  
        
       |   
     |