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

OGLFT::Advance Struct Reference

#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)

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.


Member Function Documentation

Advance& OGLFT::Advance::operator+= const FT_Vector    v [inline]
 

Increment Advance with a FreeType advance member.

Returns:
a reference to oneself.


The documentation for this struct was generated from the following file:
Generated on Wed Oct 1 10:39:03 2003 for OGLFT by doxygen1.2.18