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

Class: awFontDriver

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

Class Overview


Abstract class for font drivers.


Author(s):

Methods


Child classes:

awPHPFontDriver
Class to handle calculations on PHPFont objects
awFileFontDriver
Class to handle calculations on FileFont objects

Class Details

[line 359]
Abstract class for font drivers.

Those are used to do all the grunt work on fonts.




Tags:

abstract:  


[ Top ]


Class Methods


constructor __construct [line 361]

awFontDriver __construct( )



Tags:

access:  public


Overridden in child classes as:

awPHPFontDriver::__construct()
awFileFontDriver::__construct()

[ Top ]

method getTextHeight [line 389]

void getTextHeight( awText $text, awDriver $driver)

Calculate the height of a given Text.



Tags:

abstract:  
access:  public


Overridden in child classes as:

awPHPFontDriver::getTextHeight()
awFileFontDriver::getTextHeight()

Parameters:

awText   $text   The Text object
awDriver   $driver   The awDriver object used to draw the graph

[ Top ]

method getTextWidth [line 381]

void getTextWidth( awText $text, awDriver $driver)

Calculate the width of a given Text.



Tags:

abstract:  
access:  public


Overridden in child classes as:

awPHPFontDriver::getTextWidth()
awFileFontDriver::getTextWidth()

Parameters:

awText   $text   The Text object
awDriver   $driver   The awDriver object used to draw the graph

[ Top ]

method string [line 373]

void string( awDriver $driver, awText $text, awPoint $point, [float $width = NULL])

Draw the actual text.



Tags:

abstract:  
access:  public


Overridden in child classes as:

awPHPFontDriver::string()
awFileFontDriver::string()

Parameters:

awDriver   $driver   The Driver object to draw upon
awText   $text   The Text object
awPoint   $point   Where to draw the text
float   $width   The width of the area containing the text

[ Top ]


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