#include "GLViewer_Drawer.h"#include "GLViewer_Object.h"#include "GLViewer_Text.h"#include "GLViewer_ViewFrame.h"#include "GLViewer_ViewPort2d.h"#include <QApplication>#include <QImage>#include <QPainter>#include <QFile>#include <GL/glx.h>#include <gp_Pnt2d.hxx>
Defines | |
| #define | TEXT_GAP 5 |
| #define | NB_TEX_COMP 2 |
| #define | TEX_ROW_LEN 32 |
| #define | TEX_ROW_GAP 2 |
Functions | |
| static GLuint | displayListBase (QFont *theFont) |
Variables | |
| GLfloat | modelMatrix [16] |
| static int | FirstSymbolNumber = 32 |
| code of first font symbol | |
| static int | LastSymbolNumber = 127 |
| code of last font symbol | |
| GLubyte | rasterVertex [5] = { 0x70, 0xf8, 0xf8, 0xf8, 0x70 } |
| GLubyte | rasterCross [7] = { 0x82, 0x44, 0x28, 0x10, 0x28, 0x44, 0x82 } |
| #define TEXT_GAP 5 |
| #define NB_TEX_COMP 2 |
| #define TEX_ROW_LEN 32 |
| #define TEX_ROW_GAP 2 |
| static GLuint displayListBase | ( | QFont * | theFont | ) | [static] |
Generates list base for bitmap fonts
References GLViewer_TexFont.BitmapFontCache, GLViewer_TexFindId.myFontFamily, GLViewer_TexFindId.myIsBold, GLViewer_TexFindId.myIsItal, GLViewer_TexFindId.myIsUndl, GLViewer_TexFindId.myPointSize, and GLViewer_TexFindId.myViewPortId.
| GLfloat modelMatrix[16] |
int FirstSymbolNumber = 32 [static] |
int LastSymbolNumber = 127 [static] |
| GLubyte rasterVertex[5] = { 0x70, 0xf8, 0xf8, 0xf8, 0x70 } |
| GLubyte rasterCross[7] = { 0x82, 0x44, 0x28, 0x10, 0x28, 0x44, 0x82 } |