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

FTPixmapGlyph Class Reference

#include <FTPixmapGlyph.h>

Inheritance diagram for FTPixmapGlyph:

FTGlyph List of all members.

Detailed Description

FTPixmapGlyph is a specialisation of FTGlyph for creating pixmaps.

See also:
FTGlyphContainer

Definition at line 19 of file FTPixmapGlyph.h.

Public Member Functions

 FTPixmapGlyph (FT_GlyphSlot glyph)
 Constructor.

virtual ~FTPixmapGlyph ()
 Destructor.

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


Constructor & Destructor Documentation

FTPixmapGlyph::FTPixmapGlyph FT_GlyphSlot  glyph  ) 
 

Constructor.

Parameters:
glyph The Freetype glyph to be processed

Definition at line 3 of file FTPixmapGlyph.cpp.

References FT_RENDER_MODE_NORMAL, FTPoint::x, and FTPoint::y.

FTPixmapGlyph::~FTPixmapGlyph  )  [virtual]
 

Destructor.

Definition at line 81 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 87 of file FTPixmapGlyph.cpp.

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


The documentation for this class was generated from the following files:
Generated on Mon Aug 16 18:47:21 2004 for FTGL by doxygen 1.3.6