#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>
Macros | |
#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 More... | |
static int | LastSymbolNumber = 127 |
code of last font symbol More... | |
GLubyte | rasterVertex [5] = { 0x70, 0xf8, 0xf8, 0xf8, 0x70 } |
GLubyte | rasterCross [7] = { 0x82, 0x44, 0x28, 0x10, 0x28, 0x44, 0x82 } |
#define NB_TEX_COMP 2 |
#define TEX_ROW_GAP 2 |
#define TEX_ROW_LEN 32 |
#define TEXT_GAP 5 |
|
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.
|
static |
|
static |
GLfloat modelMatrix[16] |
GLubyte rasterCross[7] = { 0x82, 0x44, 0x28, 0x10, 0x28, 0x44, 0x82 } |
GLubyte rasterVertex[5] = { 0x70, 0xf8, 0xf8, 0xf8, 0x70 } |