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;
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.
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 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
void setCoords(const SbVec2f *coords, int numcoords=-1)
Definition SoGlyph.cpp:332
const int * getNextCCWEdge(const int edgeidx) const
Definition SoGlyph.cpp:256
static const SoGlyph * getGlyph(const char character, const SbName &font)
Definition SoGlyph.cpp:450
float getWidth(void) const
Definition SoGlyph.cpp:276
void unref(void) const
Definition SoGlyph.cpp:164
const SbBox2f & getBoundingBox(void) const
Definition SoGlyph.cpp:290
void setEdgeIndices(const int *indices, int numindices=-1)
Definition SoGlyph.cpp:370
const int * getNextCWEdge(const int edgeidx) const
Definition SoGlyph.cpp:233
SoGlyph(void)
Definition SoGlyph.cpp:128
const int * getFaceIndices(void) const
Definition SoGlyph.cpp:204
const int * getEdgeIndices(void) const
Definition SoGlyph.cpp:218
void setFaceIndices(const int *indices, int numindices=-1)
Definition SoGlyph.cpp:351
const SbVec2f * getCoords(void) const
Definition SoGlyph.cpp:191
unsigned char * getBitmap(SbVec2s &size, SbVec2s &pos, const SbBool antialiased) const
Definition SoGlyph.cpp:660
The SoState class manages the Coin scene graph traversal state data.
Definition SoState.h:44