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,
71 unsigned char * getBitmap(
SbVec2s & size,
SbVec2s & pos,
const SbBool antialiased)
const;
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;
96 #endif // !COIN_SOGLYPH_H The SbVec2f class is a 2 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec2f.h:49
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:44
The SbBox2f class is a 2 dimensional box with floating point corner coordinates.This box class is use...
Definition: SbBox2f.h:42
The SoGlyph class is used to generate and reuse font glyph bitmaps and outlines.
Definition: SoGlyph.h:44
The SbVec2s class is a 2 dimensional vector with short integer coordinates.This vector class is used ...
Definition: SbVec2s.h:51
The SbName class stores strings by reference.The class is used by Coin for storing keywords...
Definition: SbName.h:40