[ 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/php4/inc/ -> Font.class.php (sommaire)

(pas de description)

Poids: 380 lignes (7 kb)
Inclus ou requis: 2 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 3 classes

awFont:: (4 méthodes):
  awFont()
  draw()
  getTextWidth()
  getTextHeight()

awTTFFont:: (7 méthodes):
  awTTFFont()
  draw()
  getTextWidth()
  getTextHeight()
  getAverageWidth()
  awFont()
  aw()

awTuffy:: (1 méthode):
  awTuffy()


Classe: awFont  - X-Ref

Built-in PHP fonts

awFont($font)   X-Ref
Build the font

param: int $font Font identifier

draw($drawer, $p, &$text, $width = NULL)   X-Ref
Draw a text

param: $drawer
param: $p Draw text at this point
param: &$text The text
param: &$width Text box width

getTextWidth(&$text)   X-Ref
Get the width of a string

param: &$text A string

getTextHeight(&$text)   X-Ref
Get the height of a string

param: &$text A string

Classe: awTTFFont  - X-Ref

TTF fonts

awTTFFont($font, $size)   X-Ref
Font file

param: string $font Font file
param: int $size Font size

draw($drawer, $p, &$text, $width = NULL)   X-Ref
Draw a text

param: $drawer
param: $p Draw text at this point
param: &$text The text
param: &$width Text box width

getTextWidth(&$text)   X-Ref
Get the width of a string

param: &$text A string

getTextHeight(&$text)   X-Ref
Get the height of a string

param: &$text A string

getAverageWidth()   X-Ref
Get average width of a character

return: int

awFont(parent::awFont('.$i.')   X-Ref
Pas de description

aw(parent::awTTFFont(\''.(ARTICHOW_FONT.DIRECTORY_SEPARATOR.$font.'.ttf')   X-Ref
Pas de description

Classe: awTuffy  - X-Ref

awTuffy($size)   X-Ref
Pas de description



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