[ Index ]
 

Code source de Cr@wltr@ck 2.2.1

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/graphs/artichow/php5/inc/ -> Driver.class.php (sommaire)

Draw your objects

Poids: 725 lignes (18 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 2 classes

awPHPFontDriver:: (7 méthodes):
  __construct()
  string()
  gdString()
  getTextWidth()
  getTextHeight()
  getGDTextWidth()
  getGDTextHeight()

awFileFontDriver:: (8 méthodes):
  __construct()
  string()
  gdString()
  getTextWidth()
  getTextHeight()
  getGDTextWidth()
  getGDTextHeight()
  getGDAverageWidth()

Définit 8 fonctions

  __construct()
  getDriverString()
  __construct()

Classe: awPHPFontDriver  - X-Ref

Class to handle calculations on PHPFont objects

__construct()   X-Ref
Pas de description

string(awDriver $driver, awText $text, awPoint $point, $width = NULL)   X-Ref
Pas de description

gdString(awGDDriver $driver, awText $text, awPoint $point, $width = NULL)   X-Ref
Draw a string onto a GDDriver object

param: awGDDriver $driver The GDDriver to draw the text upon
param: awText $text The awText object containing the string to draw
param: awPoint $point Where to draw the text
param: float $width The width of the text

getTextWidth(awText $text, awDriver $driver)   X-Ref
Pas de description

getTextHeight(awText $text, awDriver $driver)   X-Ref
Pas de description

getGDTextWidth(awText $text)   X-Ref
Return the width of a text for a GDDriver

param: awText $text
return: int $fontWidth

getGDTextHeight(awText $text)   X-Ref
Return the height of a text for a GDDriver

param: awText $text
return: int $fontHeight

Classe: awFileFontDriver  - X-Ref

Class to handle calculations on FileFont objects

__construct()   X-Ref
Pas de description

string(awDriver $driver, awText $text, awPoint $point, $width = NULL)   X-Ref
Pas de description

gdString(awGDDriver $driver, awText $text, awPoint $point, $width = NULL)   X-Ref
Draw an awFileFont object on a GD ressource

param: awGDDriver $driver The awGDDriver object containing the ressource to draw upon
param: awText $text The awText object containing the string to draw
param: awPoint $point Where to draw the string from
param: float $width The width of the area containing the text

getTextWidth(awText $text, awDriver $driver)   X-Ref
Pas de description

getTextHeight(awText $text, awDriver $driver)   X-Ref
Pas de description

getGDTextWidth(awText $text)   X-Ref
Pas de description

getGDTextHeight(awText $text)   X-Ref
Pas de description

getGDAverageWidth(awFileFont $font)   X-Ref
Pas de description

Fonctions
Fonctions qui ne font pas partie d'une Classe:

__construct()   X-Ref
Pas de description

getDriverString()   X-Ref
Return the string representing the type of driver

return: string

__construct()   X-Ref
Pas de description



Généré le : Thu Sep 6 14:14:11 2007 par Balluche grâce à PHPXref 0.7