[ Index ]
 

Code source de phpMyVisites 2.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/libs/artichow/php4/inc/ -> Font.class.php (sommaire)

(pas de description)

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

Définit 2 classes

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

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


Classe: awFont  - X-Ref

Built-in PHP fonts

awFont($font)   X-Ref
Build the font

param: int $font Font identifier

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

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

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)   X-Ref
Draw a text

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

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

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

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



Généré le : Mon Nov 26 14:10:01 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics