36#include <Inventor/SbBasic.h>
37#include <Inventor/SbBox2f.h>
38#include <Inventor/SbVec2s.h>
39#include <Inventor/misc/SoState.h>
52 void unref(
void)
const;
54 static const SoGlyph * getGlyph(
const char character,
const SbName & font);
56 const SbVec2f * getCoords(
void)
const;
57 const int * getFaceIndices(
void)
const;
58 const int * getEdgeIndices(
void)
const;
59 const int * getNextCWEdge(
const int edgeidx)
const;
60 const int * getNextCCWEdge(
const int edgeidx)
const;
62 float getWidth(
void)
const;
63 const SbBox2f & getBoundingBox(
void)
const;
66 const unsigned int character,
77#if (COIN_MAJOR_VERSION == 2)
78#error Reminder: when copying this file over to Coin-2, next 3 functions
79#error must be changed back to take a non-const first argument -- to keep
80#error ABI-compatibility. Do not change any other interfaces because of this,
81#error but handle by doing work-around casting internally in SoGlyph.cpp.
83 void setCoords(
const SbVec2f * coords,
int numcoords = -1);
84 void setFaceIndices(
const int * indices,
int numindices = -1);
85 void setEdgeIndices(
const int * indices,
int numindices = -1);
88 static void unrefGlyph(
SoGlyph * glyph);
89 void setFontType(Fonttype type)
const;
92 friend class SoGlyphP;
The SbBox2f class is a 2 dimensional box with floating point corner coordinates.
Definition SbBox2f.h:42
The SbList class is a template container class for lists.
Definition SbList.h:70
The SbName class stores strings by reference.
Definition SbName.h:40
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition SbVec2f.h:49
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition SbVec2s.h:51
The SoGlyph class is used to generate and reuse font glyph bitmaps and outlines.
Definition SoGlyph.h:44
The SoState class manages the Coin scene graph traversal state data.
Definition SoState.h:44