29 # warning This header is deprecated. Please use <FTGL/ftgl.h> from now. 112 virtual FT_Error
Error()
const;
148 void (*destroyCallback) (
FTGLglyph *,
void *));
200 #endif // __FTGlyph__
virtual float Advance() const
Return the advance width for this glyph.
FTOutlineGlyph is a specialisation of FTGlyph for creating outlines.
FTPolygonGlyph is a specialisation of FTGlyph for creating tessellated polygon glyphs.
virtual ~FTGlyph()
Destructor.
FT_Error ftglGetGlyphError(FTGLglyph *glyph)
Query a glyph for errors.
FTBitmapGlyph is a specialisation of FTGlyph for creating bitmaps.
FTBBox is a convenience class for handling bounding boxes.
void ftglRenderGlyph(FTGLglyph *glyph, FTGL_DOUBLE penx, FTGL_DOUBLE peny, int renderMode, FTGL_DOUBLE *advancex, FTGL_DOUBLE *advancey)
Render a glyph at the current pen position and compute the corresponding advance.
void ftglGetGlyphBBox(FTGLglyph *glyph, float bounds[6])
Return the bounding box for a glyph.
FTBufferGlyph is a specialisation of FTGlyph for memory buffer rendering.
void ftglDestroyGlyph(FTGLglyph *glyph)
Destroy an FTGL glyph object.
FTPoint class is a basic 3-dimensional point or vector.
float ftglGetGlyphAdvance(FTGLglyph *glyph)
Return the advance for a glyph.
FTExtrudeGlyph is a specialisation of FTGlyph for creating tessellated extruded polygon glyphs.
virtual const FTBBox & BBox() const
Return the bounding box for this glyph.
#define FTGL_BEGIN_C_DECLS
virtual FT_Error Error() const
Queries for errors.
struct _FTGLglyph FTGLglyph
FTGLglyph * ftglCreateCustomGlyph(FTGLglyph *base, void *data, void(*renderCallback)(FTGLglyph *, void *, FTGL_DOUBLE, FTGL_DOUBLE, int, FTGL_DOUBLE *, FTGL_DOUBLE *), void(*destroyCallback)(FTGLglyph *, void *))
Create a custom FTGL glyph object.
FTPixmapGlyph is a specialisation of FTGlyph for creating pixmaps.
virtual const FTPoint & Render(const FTPoint &pen, int renderMode)
Render this glyph at the current pen position.
FTTextureGlyph is a specialisation of FTGlyph for creating texture glyphs.
FTGlyph is the base class for FTGL glyphs.