linea21-externals
[ class tree: linea21-externals ] [ index: linea21-externals ] [ all elements ]

Class: awFont

Source Location: /class/system/artichow/php4/inc/Font.class.php

Class Overview


Common font characteristics and methods.


Methods


Child classes:

awPHPFont
Class for fonts that cannot be transformed, like the built-in PHP fonts for example.
awFileFont
Class for fonts that can be transformed (rotated, skewed, etc.), like TTF or FDB fonts for example.

Class Details

[line 21]
Common font characteristics and methods.

Declared abstract only so that it can't be instanciated. Users have to call 'new awPHPFont' or 'new awFileFont', or any of their inherited classes (awFont1, awTuffy, awTTFFont, etc.)




[ Top ]


Class Methods


constructor awFont [line 27]

awFont awFont( )

Build the font



[ Top ]

method draw [line 39]

void draw( $driver $driver, $p $point, &$text &$text, [int $width = NULL])

Draw a text



Parameters:

int   $width   Text box width
$driver   $driver  
$p   $point   Draw text at this point
&$text   &$text   The text

[ Top ]


Documentation generated on Sat, 08 Nov 2008 14:52:14 +0100 by phpDocumentor 1.4.1