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

OGLFT::Advance Struct Reference

Advance describes the "advance" of a glyph, namely the distance in model space at which the NEXT glyph should be drawn. This class exists to assist the computation of string metrics. More...

#include <OGLFT.h>

List of all members.

Public Methods

 Advance (float dx=0, float dy=0)
 Default constructor. An otherwise uninitialized Advance contains zeros.

 Advance (FT_Vector v)
 Initialize an advance from a FreeType advance member.

Advance& operator+= (const FT_Vector v)
 Increment Advance with a FreeType advance member.
Returns:
a reference to oneself.



Public Attributes

float dx_
 Advance increment in the X direction.

float dy_
 Advance increment in the Y direction.


Detailed Description

Advance describes the "advance" of a glyph, namely the distance in model space at which the NEXT glyph should be drawn. This class exists to assist the computation of string metrics.


The documentation for this struct was generated from the following file:
Generated at Fri Jul 12 10:47:15 2002 for OGLFT by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001