Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

GenericFont Class Reference

Base class for fonts. More...

#include <generic_font.hpp>

Inheritance diagram for GenericFont:

SkinObject BitmapFont FT2Font List of all members.

Public Member Functions

virtual GenericBitmapdrawString (const UString &rString, uint32_t color, int maxWidth=-1) const =0
virtual int getSize () const =0
 Get the font size.

Detailed Description

Base class for fonts.

Definition at line 35 of file generic_font.hpp.


Member Function Documentation

virtual GenericBitmap* GenericFont::drawString const UString &  rString,
uint32_t  color,
int  maxWidth = -1
const [pure virtual]
 

Render a string on a bitmap. If maxWidth != -1, the text is truncated with '...' The Bitmap is _not_ owned by this object

Implemented in BitmapFont, and FT2Font.


The documentation for this class was generated from the following file:
Generated on Tue Dec 20 10:15:03 2005 for vlc-0.8.4a by  doxygen 1.4.2