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 (char *text, GLint *width, GLint *ascent, GLint *descent)
void RenderText (const Standard_Integer id, const char *text)
void RenderText (char *, GLuint, int, GLfloat, GLfloat, GLfloat)
void ExportText (char *str, 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 ( char *  str,
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 ( char *  ,
GLuint  ,
int  ,
GLfloat  ,
GLfloat  ,
GLfloat   
)
void OpenGl_TextRender::RenderText ( const Standard_Integer  id,
const char *  text 
)
void OpenGl_TextRender::StringSize ( char *  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
Generated on Thu Mar 3 11:00:01 2011 for Open CASCADE Technology by  doxygen 1.6.3