Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SmTextureFont.cpp File Reference
#include "SmTextureFont.h"
#include <Inventor/misc/SoGLImage.h>
#include <Inventor/actions/SoGLRenderAction.h>
#include <Inventor/actions/SoPickAction.h>
#include <Inventor/actions/SoGetBoundingBoxAction.h>
#include <assert.h>
#include <Inventor/C/tidbits.h>
#include <Inventor/system/gl.h>
#include <string.h>
#include <Inventor/elements/SoTextureQualityElement.h>
#include <Inventor/elements/SoLightModelElement.h>
#include <Inventor/elements/SoGLTextureImageElement.h>
#include <Inventor/elements/SoGLTextureCoordinateElement.h>
#include <Inventor/elements/SoGLTextureEnabledElement.h>
#include <Inventor/elements/SoGLLazyElement.h>

Functions

 SO_NODE_SOURCE (SmTextureFont)
 
static void render_text (unsigned char *dst, const int idx, const unsigned char value, const unsigned char alpha)
 
 SO_ELEMENT_SOURCE (SmTextureFontElement)
 

Variables

static const unsigned char texture_fontdata [][12]
 
static const int texturetext_isolatin1_mapping []
 
static SmTextureFont::FontImagedefault_font = NULL
 

Function Documentation

◆ render_text()

static void render_text ( unsigned char *  dst,
const int  idx,
const unsigned char  value,
const unsigned char  alpha 
)
static

◆ SO_ELEMENT_SOURCE()

SO_ELEMENT_SOURCE ( SmTextureFontElement  )

◆ SO_NODE_SOURCE()

SO_NODE_SOURCE ( SmTextureFont  )

Variable Documentation

◆ default_font

SmTextureFont::FontImage* default_font = NULL
static

◆ texture_fontdata

const unsigned char texture_fontdata[][12]
static

◆ texturetext_isolatin1_mapping

const int texturetext_isolatin1_mapping[]
static