KGLLib
textrenderer.cpp File Reference
#include "textrenderer.h"
#include "glwidget.h"
#include <QPainter>
#include <QHash>
#include <QMap>
#include <QDebug>
Include dependency graph for textrenderer.cpp:

Go to the source code of this file.
Namespaces | |
| namespace | KGLLib |
Defines | |
| #define | OUTLINE_WIDTH 3 |
Functions | |
| static void | normalizeTexSize (GLenum textureTarget, int &texwidth, int &texheight) |
Variables | |
| const int | OUTLINE_BRUSH [2 *OUTLINE_WIDTH+1][2 *OUTLINE_WIDTH+1] |
Define Documentation
| #define OUTLINE_WIDTH 3 |
Definition at line 38 of file textrenderer.cpp.
Function Documentation
| static void @22::normalizeTexSize | ( | GLenum | textureTarget, | |
| int & | texwidth, | |||
| int & | texheight | |||
| ) | [static] |
Definition at line 127 of file textrenderer.cpp.
Variable Documentation
| GLuint m_glyphTexture |
Definition at line 72 of file textrenderer.cpp.
| GLuint m_outlineTexture |
Definition at line 73 of file textrenderer.cpp.
| GLuint m_quadDisplayList |
Definition at line 75 of file textrenderer.cpp.
| int m_realheight |
Definition at line 82 of file textrenderer.cpp.
| int m_realwidth |
Width and height in pixels of the rendered character.
Definition at line 82 of file textrenderer.cpp.
| GLenum m_textureTarget |
Definition at line 77 of file textrenderer.cpp.
const int OUTLINE_BRUSH[2 *OUTLINE_WIDTH+1][2 *OUTLINE_WIDTH+1] [static] |
Initial value:
{ { 10, 30, 45, 50, 45, 30, 10 },
{ 30, 65, 85, 100, 85, 65, 30 },
{ 45, 85, 200, 256, 200, 85, 45 },
{ 50, 100, 256, 256, 256, 100, 50},
{ 45, 85, 200, 256, 200, 85, 45 },
{ 30, 65, 85, 100, 85, 65, 30 },
{ 10, 30, 45, 50, 45, 30, 10 } }
Definition at line 40 of file textrenderer.cpp.
KDE 4.2 API Reference