vdr
2.2.0
|
Public Member Functions | |
virtual int | Width (uint c) const |
virtual int | Width (const char *s) const |
virtual int | Height (void) const |
virtual void | DrawText (cBitmap *Bitmap, int x, int y, const char *s, tColor ColorFg, tColor ColorBg, int Width) const |
virtual void | DrawText (cPixmap *Pixmap, int x, int y, const char *s, tColor ColorFg, tColor ColorBg, int Width) const |
![]() | |
virtual | ~cFont () |
virtual const char * | FontName (void) const |
virtual int | Size (void) const |
int | Height (const char *s) const |
Additional Inherited Members | |
![]() | |
static void | SetFont (eDvbFont Font, const char *Name, int CharHeight) |
static const cFont * | GetFont (eDvbFont Font) |
static cFont * | CreateFont (const char *Name, int CharHeight, int CharWidth=0) |
static bool | GetAvailableFontNames (cStringList *FontNames, bool Monospaced=false) |
static cString | GetFontFileName (const char *FontName) |
Definition at line 21 of file skincurses.c.
|
inlinevirtual |
Draws the given text into the Bitmap at position (x, y) with the given colors.
The text will not exceed the given Width (if > 0), and will end with a complete character.
Implements cFont.
Definition at line 26 of file skincurses.c.
|
inlinevirtual |
Reimplemented from cFont.
Definition at line 27 of file skincurses.c.
|
inlinevirtual |
Returns the height of this font in pixel (all characters have the same height).
Implements cFont.
Definition at line 25 of file skincurses.c.
|
inlinevirtual |
Returns the width of the given character in pixel.
Implements cFont.
Definition at line 23 of file skincurses.c.
Referenced by cSkinCursesDisplayTracks::cSkinCursesDisplayTracks().
|
inlinevirtual |
Returns the width of the given string in pixel.
Implements cFont.
Definition at line 24 of file skincurses.c.
References Utf8StrLen().