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

FT2Bitmap Class Reference

Class for rendering freetype glyphs on a bitmap. More...

#include <ft2_bitmap.hpp>

Inheritance diagram for FT2Bitmap:

GenericBitmap SkinObject List of all members.

Public Member Functions

 FT2Bitmap (intf_thread_t *pIntf, int width, int height)
 Create an empty bitmap.
virtual int getWidth () const
 Get the width of the bitmap.
virtual int getHeight () const
 Get the heighth of the bitmap.
virtual uint8_t * getData () const
void draw (const FT_Bitmap &rBitmap, int left, int top, uint32_t color)
 Render a glyph on the bitmap at the given position.

Detailed Description

Class for rendering freetype glyphs on a bitmap.

Definition at line 35 of file ft2_bitmap.hpp.


Member Function Documentation

virtual uint8_t* FT2Bitmap::getData  )  const [inline, virtual]
 

Get a linear buffer containing the image data. Each pixel is stored in 4 bytes in the order B,G,R,A

Implements GenericBitmap.

Definition at line 51 of file ft2_bitmap.hpp.


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