|
Open CASCADE Technology
6.5.4
|
#include <OpenGl_FontMgr.hxx>
Data Structures | |
| struct | OGLFont_Cache |
| struct | OGLFont_SysInfo |
Public Member Functions | |
| int | request_font (const Handle< TCollection_HAsciiString > &fontName, const Font_FontAspect fontAspect, const Standard_Integer fontHeight) |
| void | render_text (const Standard_Integer id, const wchar_t *text, const Standard_Boolean is2d=Standard_False) |
| void | render_text (const wchar_t *text, const Standard_Boolean is2d=Standard_False) |
| const FTFont * | fontById (const Standard_Integer id) |
| Standard_ShortReal | computeWidth (const Standard_Integer id, const wchar_t *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 wchar_t * | str | ||
| ) |
| const FTFont* OpenGl_FontMgr::fontById | ( | const Standard_Integer | id | ) |
| static OpenGl_FontMgr* OpenGl_FontMgr::instance | ( | ) | [static] |
| void OpenGl_FontMgr::render_text | ( | const Standard_Integer | id, |
| const wchar_t * | text, | ||
| const Standard_Boolean | is2d = Standard_False |
||
| ) |
| void OpenGl_FontMgr::render_text | ( | const wchar_t * | text, |
| const Standard_Boolean | is2d = Standard_False |
||
| ) |
| int OpenGl_FontMgr::request_font | ( | const Handle< TCollection_HAsciiString > & | fontName, |
| const Font_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.8.0