Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

FTPixmapGlyph Class Reference

FTPixmapGlyph is a specialisation of FTGlyph for creating pixmaps. More...

#include <FTPixmapGlyph.h>

Inheritance diagram for FTPixmapGlyph:

FTGlyph List of all members.

Public Member Functions

 FTPixmapGlyph (FT_Glyph glyph)
 Constructor.

virtual ~FTPixmapGlyph ()
 Destructor.

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


Detailed Description

FTPixmapGlyph is a specialisation of FTGlyph for creating pixmaps.

See also:
FTGlyphContainer

Definition at line 19 of file FTPixmapGlyph.h.


Constructor & Destructor Documentation

FTPixmapGlyph::FTPixmapGlyph FT_Glyph  glyph  ) 
 

Constructor.

Parameters:
glyph The Freetype glyph to be processed

Definition at line 3 of file FTPixmapGlyph.cpp.

References FTGlyph::err, FTPoint::x, and FTPoint::y.

FTPixmapGlyph::~FTPixmapGlyph  )  [virtual]
 

Destructor.

Definition at line 86 of file FTPixmapGlyph.cpp.


Member Function Documentation

float FTPixmapGlyph::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 92 of file FTPixmapGlyph.cpp.

References FTGlyph::advance, FTPoint::x, and FTPoint::y.


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 15:16:40 2003 for FTGL by doxygen 1.3.3