phpDocumentor Painter
[ class tree: Painter ] [ index: Painter ] [ all elements ]

Class: Font

Source Location: /painter.php

Class Font

Class Overview

Encapsulates a font.

Located in /painter.php [line 786]



		
		
		
		

Methods

[ Top ]
Method Summary
Font   Font()   Creates a new Font object.
void   Free()   Frees the resources used by a font.
void   LoadDefault()   Loads a built-in font.
void   LoadGdFont()   Loads a GD font.
void   LoadPsFont()   Loads a PS font.
void   LoadTtfFont()   Loads a TTF font.

[ Top ]
Methods
Constructor Font  [line 801]

  Font Font( [int $sz = -1]  )

Creates a new Font object.

Parameters:
int   $sz:  The size of a built-in font.


[ Top ]
Free  [line 869]

  void Free( )

Frees the resources used by a font.



[ Top ]
LoadDefault  [line 813]

  void LoadDefault( int $sz  )

Loads a built-in font.

Parameters:
int   $sz:  The size of the built-in font.


[ Top ]
LoadGdFont  [line 855]

  void LoadGdFont( string $path, int $sz  )

Loads a GD font.

Parameters:
string   $path:  The path to the font file.
int   $sz:  The font size.


[ Top ]
LoadPsFont  [line 839]

  void LoadPsFont( string $path, int $sz  )

Loads a PS font.

Parameters:
string   $path:  The path to the font file.
int   $sz:  The font size.


[ Top ]
LoadTtfFont  [line 824]

  void LoadTtfFont( string $path, int $sz  )

Loads a TTF font.

Parameters:
string   $path:  The path to the font file.
int   $sz:  The font size.


[ Top ]

Documentation generated on Thu, 27 Mar 2008 22:29:48 +0000 by phpDocumentor 1.4.1