cCursesFont Class Reference

Inheritance diagram for cCursesFont:

Inheritance graph
[legend]
Collaboration diagram for cCursesFont:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual int Width (uint c) const
 Returns the width of the given character in pixel.
virtual int Width (const char *s) const
 Returns the width of the given string in pixel.
virtual int Height (void) const
 Returns the height of this font in pixel (all characters have the same height).
virtual void DrawText (cBitmap *Bitmap, int x, int y, const char *s, tColor ColorFg, tColor ColorBg, int Width) const


Detailed Description

Definition at line 20 of file skincurses.c.


Member Function Documentation

virtual int cCursesFont::Width ( uint  c  )  const [inline, virtual]

Returns the width of the given character in pixel.

Implements cFont.

Definition at line 22 of file skincurses.c.

Referenced by cSkinCursesDisplayTracks::cSkinCursesDisplayTracks().

virtual int cCursesFont::Width ( const char *  s  )  const [inline, virtual]

Returns the width of the given string in pixel.

Implements cFont.

Definition at line 23 of file skincurses.c.

References Utf8StrLen().

Here is the call graph for this function:

virtual int cCursesFont::Height ( void   )  const [inline, virtual]

Returns the height of this font in pixel (all characters have the same height).

Implements cFont.

Definition at line 24 of file skincurses.c.

virtual void cCursesFont::DrawText ( cBitmap Bitmap,
int  x,
int  y,
const char *  s,
tColor  ColorFg,
tColor  ColorBg,
int  Width 
) const [inline, virtual]

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 25 of file skincurses.c.


The documentation for this class was generated from the following file:

Generated on Tue Jan 13 14:27:55 2009 for VDR by  doxygen 1.5.6