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 957]



		
		
		
		

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 972]

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

Creates a new Font object.

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


[ Top ]
Free  [line 1040]

  void Free( )

Frees the resources used by a font.



[ Top ]
LoadDefault  [line 984]

  void LoadDefault( int $sz  )

Loads a built-in font.

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


[ Top ]
LoadGdFont  [line 1026]

  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 1010]

  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 995]

  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 Mon, 31 Mar 2008 18:35:26 +0100 by phpDocumentor 1.4.1