#include <FTTextureGlyph.h>
Inheritance diagram for FTTextureGlyph:
Definition at line 20 of file FTTextureGlyph.h.
Public Member Functions | |
FTTextureGlyph (FT_GlyphSlot glyph, int id, int xOffset, int yOffset, GLsizei width, GLsizei height) | |
Constructor. | |
virtual | ~FTTextureGlyph () |
Destructor. | |
virtual const FTPoint & | Render (const FTPoint &pen) |
Renders this glyph at the current pen position. | |
Static Public Member Functions | |
void | ResetActiveTexture () |
Reset the currently active texture to zero to get into a known state before drawing a string. |
|
Constructor.
Definition at line 5 of file FTTextureGlyph.cpp. References FT_RENDER_MODE_NORMAL, FTPoint::X(), and FTPoint::Y(). |
|
Destructor.
Definition at line 54 of file FTTextureGlyph.cpp. |
|
Renders this glyph at the current pen position.
Implements FTGlyph. Definition at line 58 of file FTTextureGlyph.cpp. References FTPoint::X(), and FTPoint::Y(). |
|
Reset the currently active texture to zero to get into a known state before drawing a string. This is to get round possible threading issues. Definition at line 55 of file FTTextureGlyph.h. Referenced by FTGLTextureFont::Render(). |