src/GLViewer/GLViewer_Drawer.cxx File Reference

#include "GLViewer_Drawer.h"
#include "GLViewer_Object.h"
#include "GLViewer_Text.h"
#include "GLViewer_ViewFrame.h"
#include "GLViewer_ViewPort2d.h"
#include <GL/glx.h>
#include <gp_Pnt2d.hxx>
#include <qimage.h>
#include <qpainter.h>

Include dependency graph for GLViewer_Drawer.cxx:


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 Documentation

#define TEXT_GAP   5
 

#define NB_TEX_COMP   2
 

#define TEX_ROW_LEN   32
 

#define TEX_ROW_GAP   2
 


Function Documentation

static GLuint displayListBase QFont *  theFont  )  [static]
 

Generates list base for bitmap fonts


Variable Documentation

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 }