Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Data Structures | Public Member Functions | Static Public Member Functions
OpenGl_FontMgr Class Reference

#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_FontMgrinstance ()

Member Function Documentation

bool OpenGl_FontMgr::requestFontList ( Graphic3d_NListOfHAsciiString &  )

The documentation for this class was generated from the following file: