|
Open Game Engine 2D API
|
函数 | |
| int | OGE_GetFont (string sName, int iFontSize) |
| 取得指定名称和大小的字体资源 | |
| string | OGE_GetFontName (int iFontId) |
| 取得字体名称 | |
| int | OGE_GetFontSize (int iFontId) |
| 取得字体大小 | |
| int | OGE_GetDefaultFont () |
| 取得缺省字体 | |
| void | OGE_SetDefaultFont (int iFontId) |
| 设置缺省字体 | |
| void | OGE_RemoveFont (string sName, int iFontSize) |
| 移除指定名称和大小的字体 | |
| int OGE_GetDefaultFont | ( | ) |
取得缺省字体
| int OGE_GetFont | ( | string | sName, |
| int | iFontSize | ||
| ) |
取得指定名称和大小的字体资源
| [in] | sName | 字体名称 |
| [in] | iFontSize | 字体大小 |
| string OGE_GetFontName | ( | int | iFontId | ) |
取得字体名称
| [in] | iFontId | 字体资源的ID |
| int OGE_GetFontSize | ( | int | iFontId | ) |
取得字体大小
| [in] | iFontId | 字体的ID |
| void OGE_RemoveFont | ( | string | sName, |
| int | iFontSize | ||
| ) |
移除指定名称和大小的字体
| [in] | sName | 字体的名称 |
| [in] | iFontSize | 字体的大小 |
| void OGE_SetDefaultFont | ( | int | iFontId | ) |
设置缺省字体
| [in] | iFontId | 字体的ID |
1.8.0