Open Game Engine 2D API
|
Functions | |
int | OGE_GetFont (string sName, int iFontSize) |
Get the font resource by name and size. | |
string | OGE_GetFontName (int iFontId) |
Get the name of the font. | |
int | OGE_GetFontSize (int iFontId) |
Get the size of the font. | |
int | OGE_GetDefaultFont () |
Get the default font. | |
void | OGE_SetDefaultFont (int iFontId) |
Set the default font. | |
void | OGE_RemoveFont (string sName, int iFontSize) |
Remove a font by name and size. |
int OGE_GetDefaultFont | ( | ) |
Get the default font.
int OGE_GetFont | ( | string | sName, |
int | iFontSize | ||
) |
Get the font resource by name and size.
[in] | sName | The name of the font |
[in] | iFontSize | The size of the font |
string OGE_GetFontName | ( | int | iFontId | ) |
Get the name of the font.
[in] | iFontId | The ID of the font |
int OGE_GetFontSize | ( | int | iFontId | ) |
Get the size of the font.
[in] | iFontId | The ID of the font |
void OGE_RemoveFont | ( | string | sName, |
int | iFontSize | ||
) |
Remove a font by name and size.
[in] | sName | The name of the font |
[in] | iFontSize | The size of the font |
void OGE_SetDefaultFont | ( | int | iFontId | ) |
Set the default font.
[in] | iFontId | The ID of the font |