Property | Type | Description | |
---|---|---|---|
FT_ALIGN | FTFontAlign |
Method | Description | |
---|---|---|
Dispose ( ) : void |
Dispose of the font
|
|
DisposeFreeType ( ) : void |
Dispose of the FreeType library
|
|
FTFont ( string resourcefilename, int &Success ) : System |
Initialise the Font. Will Initialise the freetype library if not already done so
|
|
ftBeginFont ( ) : void |
Initialise the OpenGL state necessary fo rendering the font properly
|
|
ftClearFont ( ) : void |
Clear all OpenGL-related structures.
|
|
ftEndFont ( ) : void |
Restore the OpenGL state to what it was prior to starting to draw the font
|
|
ftExtent ( string &text ) : float |
Return the horizontal extent (width),in pixels, of a given font string
|
|
ftGetGlyphOffset ( Char glyphchar ) : |
Return the Glyph offsets for the first character in "text"
|
|
ftInit ( ) : int |
Initialise the FreeType library
|
|
ftRenderToTexture ( int fontsize, uint DPI ) : void |
Render the font to a series of OpenGL textures (one per letter)
|
|
ftVersion ( int &Major, int &Minor, int &Patch ) : void |
Return the version information for FreeType.
|
|
ftVersionString ( ) : string |
Return the entire version information for FreeType as a String.
|
|
ftWrite ( string text ) : void |
Custom GL "write" routine.
|
Method | Description | |
---|---|---|
CompileCharacterToTexture ( Tao.FreeType.FT_FaceRec face, int c ) : void | ||
next_po2 ( int a ) : int |
public FTFont ( string resourcefilename, int &Success ) : System | ||
resourcefilename | string | Path to the external font file |
Success | int | Returns 0 if successful |
return | System |
public ftGetGlyphOffset ( Char glyphchar ) : |
||
glyphchar | Char | |
return |
public ftRenderToTexture ( int fontsize, uint DPI ) : void | ||
fontsize | int | size of the font |
DPI | uint | dots-per-inch setting |
return | void |
public static ftVersion ( int &Major, int &Minor, int &Patch ) : void | ||
Major | int | Major Version |
Minor | int | Minor Version |
Patch | int | Patch Number |
return | void |
public ftWrite ( string text ) : void | ||
text | string | /// The text to print. /// |
return | void |