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

(pas de description)

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

Définit 2 classes

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

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


Classe: awFont  - X-Ref

Built-in PHP fonts

__construct($font)   X-Ref
Build the font

param: int $font Font identifier

draw(awDrawer $drawer, awPoint $p, awText $text)   X-Ref
Draw a text

param: awDrawer $drawer
param: awPoint $p Draw text at this point
param: awText $text The text

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

param: awText $text A string

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

param: awText $text A string

Classe: awTTFFont  - X-Ref

TTF fonts

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

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

draw(awDrawer $drawer, awPoint $p, awText $text)   X-Ref
Draw a text

param: awDrawer $drawer
param: awPoint $p Draw text at this point
param: awText $text The text

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

param: awText $text A string

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

param: awText $text A string

__construct()   X-Ref
Pas de description

__construct($size)   X-Ref
Pas de description

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