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

Class: awFont

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

Class Overview


Common font characteristics and methods.


Author(s):

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.)




Tags:

abstract:  


[ Top ]


Class Methods


constructor __construct [line 27]

awFont __construct( )

Build the font



Tags:

access:  public


Overridden in child classes as:

awPHPFont::__construct()
awFileFont::__construct()
awTTFFont::__construct()

[ Top ]

method draw [line 39]

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

Draw a text



Tags:

access:  public


Parameters:

awDriver   $driver  
awPoint   $p   Draw text at this point
awText   $text   The text
int   $width   Text box width
awPoint   $point  

[ Top ]


Documentation generated on Thu, 03 May 2012 15:04:40 +0200 by phpDocumentor 1.4.1