libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo es el conjunto de objetos y funciones, que permiten ejecutar las operaciones básicas de la plataforma Moldeo, y que compone su núcleo.
|
#include <moOGLFT.h>
Métodos públicos | |
VertexInfo (ColorTess *color_tess=0, TextureTess *texture_tess=0) | |
VertexInfo (FT_Vector *ft_v, ColorTess *color_tess=0, TextureTess *texture_tess=0) | |
VertexInfo (double p[2], ColorTess *color_tess=0, TextureTess *texture_tess=0) | |
VertexInfo (double x, double y, ColorTess *color_tess=0, TextureTess *texture_tess=0) | |
void | normalize (void) |
Atributos públicos | |
double | v_ [3] |
ColorTess * | color_tess_ |
TextureTess * | texture_tess_ |
VertexInfo is a private class which is used by the decomposition and tessellation routines to store the vertices and other data of the glyph's outline. Because of the "impedance mismatch" between the crazy 26.6 fixed point format of the FreeType library (well, don't blame them; look at what they have to work with) and OpenGL's preference for double precision, this simple vector has two constructors: one for 26.6 format and one for direct floating point.
VertexInfo also contains (optional) pointers to objects which implement the ColorTess and TextureTess interfaces.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
ColorTess* OGLFT::Polygonal::VertexInfo::color_tess_ |
TextureTess* OGLFT::Polygonal::VertexInfo::texture_tess_ |
The user can provide a TextureTess object which computes texture coordinates for each tesselated vertex.
double OGLFT::Polygonal::VertexInfo::v_[3] |