|
KGLLib
|
Public Member Functions | |
| void | do_draw (const QString &string, const QFont &font) |
Public Attributes | |
| QMap< QFont, QHash< QChar, CharRenderer * > > | charTable |
| GLWidget * | glwidget |
| GLboolean | textmode |
| bool | initialized |
| GLenum | textureTarget |
| QMap<QFont, QHash<QChar, CharRenderer*> > KGLLib::TextRenderer::Private::charTable |
This hash gives the correspondence table between QFonts and QChars (the keys) and the corresponding CharRenderers (the values). Every time a QChar is being met, either it is found in this table, in which case it can be directly rendered, or it is not found, in which case a new CharRenderer is created for it and added to this table.
The GLWidget in which to render. This is set once and for all by setup().
Referenced by KGLLib::TextRenderer::begin(), KGLLib::TextRenderer::draw(), and KGLLib::TextRenderer::end().
1.7.4