#include <OpenGl_FontMgr.hxx>
Data Structures | |
| struct | OGLFont_Cache |
| struct | OGLFont_SysInfo |
Public Member Functions | |
| int | request_font (const Handle< TCollection_HAsciiString > &fontName, const OSD_FontAspect fontAspect, const Standard_Integer fontHeight) |
| void | render_text (const Standard_Integer id, const char *text) |
| void | render_text (const char *text) |
| const FTFont * | fontById (const Standard_Integer id) |
| Standard_ShortReal | computeWidth (const Standard_Integer id, const char *str) |
| bool | requestFontList (Graphic3d_NListOfHAsciiString &) |
| void | setCurrentScale (const Standard_ShortReal xScale=1.f, const Standard_ShortReal yScale=1.f) |
Static Public Member Functions | |
| static OpenGl_FontMgr * | instance () |
| Standard_ShortReal OpenGl_FontMgr::computeWidth | ( | const Standard_Integer | id, | |
| const char * | str | |||
| ) |
| const FTFont* OpenGl_FontMgr::fontById | ( | const Standard_Integer | id | ) |
| static OpenGl_FontMgr* OpenGl_FontMgr::instance | ( | ) | [static] |
| void OpenGl_FontMgr::render_text | ( | const char * | text | ) |
| void OpenGl_FontMgr::render_text | ( | const Standard_Integer | id, | |
| const char * | text | |||
| ) |
| int OpenGl_FontMgr::request_font | ( | const Handle< TCollection_HAsciiString > & | fontName, | |
| const OSD_FontAspect | fontAspect, | |||
| const Standard_Integer | fontHeight | |||
| ) |
| bool OpenGl_FontMgr::requestFontList | ( | Graphic3d_NListOfHAsciiString & | ) |
| void OpenGl_FontMgr::setCurrentScale | ( | const Standard_ShortReal | xScale = 1.f, |
|
| const Standard_ShortReal | yScale = 1.f | |||
| ) |
1.6.3