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

OGLFT::ColorTess Class Reference

#include <OGLFT.h>

List of all members.

Public Methods

virtual GLfloat * color (GLdouble *p)=0


Detailed Description

During tesselation of a polygonal Face (outline, filled or solid), an object which implements this interface can be used to compute a different color for each vertex.


Member Function Documentation

virtual GLfloat* OGLFT::ColorTess::color GLdouble *    p [pure virtual]
 

Compute a color for this position. Note that the position is in the glyph's local coordinate system.

Parameters:
p  vertex position in glyph's local coordinate system. Argument is a GLdouble[3].
Returns:
GLfloat[4] (RGBA) color specification.


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