|
vdr
1.7.27
|
Public Member Functions | |
| cGlyph (uint CharCode, FT_GlyphSlotRec_ *GlyphData) | |
| virtual | ~cGlyph () |
| uint | CharCode (void) const |
| uchar * | Bitmap (void) const |
| int | AdvanceX (void) const |
| int | AdvanceY (void) const |
| int | Left (void) const |
| int | Top (void) const |
| int | Width (void) const |
| int | Rows (void) const |
| int | Pitch (void) const |
| int | GetKerningCache (uint PrevSym) const |
| void | SetKerningCache (uint PrevSym, int Kerning) |
Private Attributes | |
| uint | charCode |
| uchar * | bitmap |
| int | advanceX |
| int | advanceY |
| int | left |
| int | top |
| int | width |
| int | rows |
| int | pitch |
| cVector< tKerning > | kerningCache |
| cGlyph::cGlyph | ( | uint | CharCode, |
| FT_GlyphSlotRec_ * | GlyphData | ||
| ) |
| cGlyph::~cGlyph | ( | ) | [virtual] |
| int cGlyph::AdvanceX | ( | void | ) | const [inline] |
Definition at line 55 of file font.c.
References advanceX.
Referenced by cFreetypeFont::DrawText(), and cFreetypeFont::Width().
| int cGlyph::AdvanceY | ( | void | ) | const [inline] |
| uchar* cGlyph::Bitmap | ( | void | ) | const [inline] |
| uint cGlyph::CharCode | ( | void | ) | const [inline] |
Definition at line 53 of file font.c.
References charCode.
Referenced by cGlyph(), and cFreetypeFont::Kerning().
| int cGlyph::GetKerningCache | ( | uint | PrevSym | ) | const |
Definition at line 85 of file font.c.
References KERNING_UNKNOWN, kerningCache, and cVector< T >::Size().
Referenced by cFreetypeFont::Kerning().
| int cGlyph::Left | ( | void | ) | const [inline] |
| int cGlyph::Pitch | ( | void | ) | const [inline] |
| int cGlyph::Rows | ( | void | ) | const [inline] |
| void cGlyph::SetKerningCache | ( | uint | PrevSym, |
| int | Kerning | ||
| ) |
Definition at line 94 of file font.c.
References cVector< T >::Append(), and kerningCache.
Referenced by cFreetypeFont::Kerning().
| int cGlyph::Top | ( | void | ) | const [inline] |
| int cGlyph::Width | ( | void | ) | const [inline] |
int cGlyph::advanceX [private] |
Definition at line 42 of file font.c.
Referenced by AdvanceX(), and cGlyph().
int cGlyph::advanceY [private] |
Definition at line 43 of file font.c.
Referenced by AdvanceY(), and cGlyph().
uchar* cGlyph::bitmap [private] |
uint cGlyph::charCode [private] |
Definition at line 40 of file font.c.
Referenced by cGlyph(), and CharCode().
cVector<tKerning> cGlyph::kerningCache [private] |
Definition at line 49 of file font.c.
Referenced by GetKerningCache(), and SetKerningCache().
int cGlyph::left [private] |
int cGlyph::pitch [private] |
int cGlyph::rows [private] |
int cGlyph::top [private] |
int cGlyph::width [private] |
1.8.0