Go to the documentation of this file.
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__
FTGlyph is the base class for FTGL glyphs.
struct _FTGLglyph FTGLglyph
FTBitmapGlyph is a specialisation of FTGlyph for creating bitmaps.
FTBufferGlyph is a specialisation of FTGlyph for memory buffer rendering.
virtual ~FTGlyph()
Destructor.
FTExtrudeGlyph is a specialisation of FTGlyph for creating tessellated extruded polygon glyphs.
void ftglGetGlyphBBox(FTGLglyph *glyph, float bounds[6])
Return the bounding box for a glyph.
FT_Error ftglGetGlyphError(FTGLglyph *glyph)
Query a glyph for errors.
FTTextureGlyph is a specialisation of FTGlyph for creating texture glyphs.
void ftglDestroyGlyph(FTGLglyph *glyph)
Destroy an FTGL glyph object.
FTOutlineGlyph is a specialisation of FTGlyph for creating outlines.
FTBBox is a convenience class for handling bounding boxes.
FTPolygonGlyph is a specialisation of FTGlyph for creating tessellated polygon glyphs.
FTPoint class is a basic 3-dimensional point or vector.
virtual float Advance() const
Return the advance width for this glyph.
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.
virtual const FTBBox & BBox() const
Return the bounding box for this glyph.
#define FTGL_BEGIN_C_DECLS
FTPixmapGlyph is a specialisation of FTGlyph for creating pixmaps.
float ftglGetGlyphAdvance(FTGLglyph *glyph)
Return the advance for a glyph.
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.
virtual const FTPoint & Render(const FTPoint &pen, int renderMode)
Render this glyph at the current pen position.
virtual FT_Error Error() const
Queries for errors.