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

BitmapFont Class Reference

Class to handle bitmap fonts. More...

#include <bitmap_font.hpp>

Inheritance diagram for BitmapFont:

GenericFont SkinObject List of all members.

Public Member Functions

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

Detailed Description

Class to handle bitmap fonts.

Definition at line 34 of file bitmap_font.hpp.


Member Function Documentation

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

Render a string on a bitmap. If maxWidth != -1, the text is truncated with '...'

Implements GenericFont.

Definition at line 81 of file bitmap_font.cpp.

References BitmapImpl::drawBitmap(), and SkinObject::getIntf().


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