27 #include <Inventor/SbBasic.h>
28 #include <Inventor/SbBox2f.h>
29 #include <Inventor/SbVec2s.h>
30 #include <Inventor/misc/SoState.h>
43 void unref(
void)
const;
45 static const SoGlyph * getGlyph(
const char character,
const SbName & font);
47 const SbVec2f * getCoords(
void)
const;
48 const int * getFaceIndices(
void)
const;
49 const int * getEdgeIndices(
void)
const;
50 const int * getNextCWEdge(
const int edgeidx)
const;
51 const int * getNextCCWEdge(
const int edgeidx)
const;
53 float getWidth(
void)
const;
54 const SbBox2f & getBoundingBox(
void)
const;
57 const unsigned int character,
62 unsigned char * getBitmap(
SbVec2s & size,
SbVec2s & pos,
const SbBool antialiased)
const;
68 #if (COIN_MAJOR_VERSION == 2)
69 #error Reminder: when copying this file over to Coin-2, next 3 functions
70 #error must be changed back to take a non-const first argument -- to keep
71 #error ABI-compatibility. Do not change any other interfaces because of this,
72 #error but handle by doing work-around casting internally in SoGlyph.cpp.
74 void setCoords(
const SbVec2f * coords,
int numcoords = -1);
75 void setFaceIndices(
const int * indices,
int numindices = -1);
76 void setEdgeIndices(
const int * indices,
int numindices = -1);
79 static void unrefGlyph(
SoGlyph * glyph);
80 void setFontType(Fonttype type)
const;
83 friend class SoGlyphP;
87 #endif // !COIN_SOGLYPH_H
The SbVec2f class is a 2 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec2f.h:39
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:35
The SbBox2f class is a 2 dimensional box with floating point corner coordinates.This box class is use...
Definition: SbBox2f.h:33
The SoGlyph class is used to generate and reuse font glyph bitmaps and outlines.
Definition: SoGlyph.h:35
The SbVec2s class is a 2 dimensional vector with short integer coordinates.This vector class is used ...
Definition: SbVec2s.h:41
The SbName class stores strings by reference.The class is used by Coin for storing keywords...
Definition: SbName.h:31