|
FTGL 2.1.3~rc5
|
FTTextureGlyph is a specialisation of FTGlyph for creating texture glyphs. More...
#include <FTTextureGlyph.h>
Public Member Functions | |
| FTTextureGlyph (FT_GlyphSlot glyph, int id, int xOffset, int yOffset, int width, int height) | |
| Constructor. | |
| virtual | ~FTTextureGlyph () |
| Destructor. | |
| 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.
Definition at line 43 of file FTTextureGlyph.h.
| FTTextureGlyph::FTTextureGlyph | ( | FT_GlyphSlot | glyph, |
| int | id, | ||
| int | xOffset, | ||
| int | yOffset, | ||
| int | width, | ||
| int | height | ||
| ) |
Constructor.
| glyph | The Freetype glyph to be processed |
| id | The id of the texture that this glyph will be drawn in |
| xOffset | The x offset into the parent texture to draw this glyph |
| yOffset | The y offset into the parent texture to draw this glyph |
| width | The width of the parent texture |
| height | The height (number of rows) of the parent texture |
| virtual FTTextureGlyph::~FTTextureGlyph | ( | ) | [virtual] |
Destructor.
Render this glyph at the current pen position.
| pen | The current pen position. |
| renderMode | Render mode to display |
Implements FTGlyph.
1.7.4