프로퍼티 | 타입 | 설명 | |
---|---|---|---|
FT_ALIGN | FTFontAlign |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 |
리턴 | System |
public ftGetGlyphOffset ( Char glyphchar ) : |
||
glyphchar | Char | |
리턴 |
public ftRenderToTexture ( int fontsize, uint DPI ) : void | ||
fontsize | int | size of the font |
DPI | uint | dots-per-inch setting |
리턴 | void |
public static ftVersion ( int &Major, int &Minor, int &Patch ) : void | ||
Major | int | Major Version |
Minor | int | Minor Version |
Patch | int | Patch Number |
리턴 | void |
public ftWrite ( string text ) : void | ||
text | string | /// The text to print. /// |
리턴 | void |