List of all members.
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 |
Detailed Description
Definition at line 384 of file font.c.
Member Function Documentation
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 389 of file font.c.
Returns the height of this font in pixel (all characters have the same height).
Implements cFont.
Definition at line 388 of file font.c.
Returns the width of the given character in pixel.
Implements cFont.
Definition at line 386 of file font.c.
Returns the width of the given string in pixel.
Implements cFont.
Definition at line 387 of file font.c.
The documentation for this class was generated from the following file: