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_TextRender * | instance () |
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 | |
|
) |
| | |
| 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: