Rasterfarm-SDK
|
#include <ftfont.h>
Public Member Functions | |
FTFont (const char *fontFile, uint fontSize) | |
virtual | ~FTFont () |
Vertex2fArray | createContourVertices (const FT_Glyph &glyph, uint contourStartIndex, uint contourEndIndex, uint resolution) |
HeapArray< Vertex2fArray > | createOutline (char index, uint resolution) |
void | createMesh (const HeapArray< Vertex2fArray > &contour, Mesh::TriangleMesh *pMesh) |
void | createMesh (char index, uint resolution, Mesh::TriangleMesh *pMesh) |
Public Member Functions inherited from TexturedFont | |
TexturedFont (const char *fontName, uint fontSize) | |
virtual | ~TexturedFont () |
uint | getFontSize () |
Texture * | getTexture () |
virtual float | getFontHeight () |
const CharacterMetric | getCharacterMetric (char index) const |
Public Member Functions inherited from Font | |
Font (const char *fontName) | |
virtual | ~Font () |
String | getFontName () |
Static Public Member Functions | |
static void | deletePixels (Byte *pPixel) |
Friends | |
class | TexturedFont |
Additional Inherited Members | |
Public Types inherited from TexturedFont | |
typedef HeapArray< CharacterMetric > | CharacterMetricArray |
Protected Attributes inherited from TexturedFont | |
CharacterMetricArray | characterMetric |
uint | fontSize |
Texture * | pTexture |
uint | cellWidth |
uint | cellHeight |
Protected Attributes inherited from Font | |
String | fontName |
Static Protected Attributes inherited from TexturedFont | |
static const uint | CELLS_PER_COL = 16 |
Static Protected Attributes inherited from Font | |
static const uint | CHAR_SET_SIZE = 256 |
FTFont::FTFont | ( | const char * | fontFile, |
uint | fontSize ) |
|
virtual |
Vertex2fArray FTFont::createContourVertices | ( | const FT_Glyph & | glyph, |
uint | contourStartIndex, | ||
uint | contourEndIndex, | ||
uint | resolution ) |
|
virtual |
Implements TexturedFont.
void FTFont::createMesh | ( | const HeapArray< Vertex2fArray > & | contour, |
Mesh::TriangleMesh * | pMesh ) |
|
virtual |
Implements TexturedFont.
|
static |
|
friend |