Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

FTBufferGlyph Class Reference

#include <FTBufferGlyph.h>

Inheritance diagram for FTBufferGlyph:

FTGlyph

Detailed Description

FTBufferGlyph is a specialisation of FTGlyph for creating pixmaps.

See also:
FTGlyphContainer

Definition at line 19 of file FTBufferGlyph.h.

Public Member Functions

 FTBufferGlyph (FT_GlyphSlot glyph, unsigned char *clientBuffer)
 Constructor.

virtual ~FTBufferGlyph ()
 Destructor.

virtual float Render (const FTPoint &pen)
 Renders this glyph at the current pen position.


Constructor & Destructor Documentation

FTBufferGlyph::FTBufferGlyph FT_GlyphSlot  glyph,
unsigned char *  clientBuffer
 

Constructor.

Parameters:
glyph The Freetype glyph to be processed

Definition at line 3 of file FTBufferGlyph.cpp.

References FT_RENDER_MODE_NORMAL.

FTBufferGlyph::~FTBufferGlyph  )  [virtual]
 

Destructor.

Definition at line 46 of file FTBufferGlyph.cpp.


Member Function Documentation

float FTBufferGlyph::Render const FTPoint pen  )  [virtual]
 

Renders this glyph at the current pen position.

Parameters:
pen The current pen position.
Returns:
The advance distance for this glyph.

Implements FTGlyph.

Definition at line 52 of file FTBufferGlyph.cpp.


The documentation for this class was generated from the following files:
Generated on Sun Dec 5 22:11:48 2004 for FTGL by doxygen 1.3.6