Open CASCADE Technology 6.5.2
Data Structures | Public Member Functions | Static Public Member Functions
OpenGl_TextRender Class Reference

#include <OpenGl_TextRender.hxx>

Data Structures

struct  FontEntry
struct  FontMapNode
struct  OGLFont_Cache

Public Member Functions

Tint FindFont (Tchar *, OSD_FontAspect, Tfloat, Tfloat=1., Tfloat=1.)
void StringSize (const wchar_t *text, GLint *width, GLint *ascent, GLint *descent)
void RenderText (const wchar_t *, GLuint, int, GLfloat, GLfloat, GLfloat)
void ExportText (const wchar_t *text, char *fontname, GLfloat height, GLfloat angle, GLint alingment, GLfloat x, GLfloat y, GLfloat z, GLboolean is2d)

Static Public Member Functions

static OpenGl_TextRenderinstance ()

Member Function Documentation

void OpenGl_TextRender::ExportText ( const wchar_t *  text,
char *  fontname,
GLfloat  height,
GLfloat  angle,
GLint  alingment,
GLfloat  x,
GLfloat  y,
GLfloat  z,
GLboolean  is2d 
)
Tint OpenGl_TextRender::FindFont ( Tchar ,
OSD_FontAspect  ,
Tfloat  ,
Tfloat  = 1.,
Tfloat  = 1. 
)
static OpenGl_TextRender* OpenGl_TextRender::instance ( ) [static]
void OpenGl_TextRender::RenderText ( const wchar_t *  ,
GLuint  ,
int  ,
GLfloat  ,
GLfloat  ,
GLfloat   
)
void OpenGl_TextRender::StringSize ( const wchar_t *  text,
GLint *  width,
GLint *  ascent,
GLint *  descent 
)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines