FTGL 2.4.0
|
FTBufferGlyph is a specialisation of FTGlyph for memory buffer rendering. More...
#include <FTBufferGlyph.h>
Public Member Functions | |
FTBufferGlyph (FT_GlyphSlot glyph, FTBuffer *buffer) | |
Constructor. | |
virtual | ~FTBufferGlyph () |
Destructor. | |
virtual const FTPoint & | Render (const FTPoint &pen, int renderMode) |
Render this glyph at the current pen position. | |
Public Member Functions inherited from FTGlyph | |
virtual | ~FTGlyph () |
Destructor. | |
virtual const FTPoint & | Render (const FTPoint &pen, int renderMode)=0 |
Renders this glyph at the current pen position. | |
virtual float | Advance () const |
Return the advance width for this glyph. | |
virtual const FTBBox & | BBox () const |
Return the bounding box for this glyph. | |
virtual FT_Error | Error () const |
Queries for errors. | |
Additional Inherited Members | |
Protected Member Functions inherited from FTGlyph | |
FTGlyph (FT_GlyphSlot glyph) | |
Create a glyph. | |
FTBufferGlyph is a specialisation of FTGlyph for memory buffer rendering.
Definition at line 40 of file FTBufferGlyph.h.
FTBufferGlyph::FTBufferGlyph | ( | FT_GlyphSlot | glyph, |
FTBuffer * | buffer | ||
) |
Constructor.
glyph | The Freetype glyph to be processed |
buffer | An FTBuffer object in which to render the glyph. |
|
virtual |
Destructor.
Render this glyph at the current pen position.
pen | The current pen position. |
renderMode | Render mode to display |
Implements FTGlyph.