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

OGLFT::Texture::TextureInfo Struct Reference

#include <OGLFT.h>

List of all members.

Public Attributes

GLuint texture_name_
 A bound texture name is an integer in OpenGL.

FT_Int left_bearing_
 The left bearing of the transformed glyph.

FT_Int bottom_bearing_
 The bottom bearing of the transformed glyph.

int width_
 The 2**l width of the texture.

int height_
 The 2**m height of the texture.

GLfloat texture_s_
GLfloat texture_t_
FT_Vector advance_
 The advance vector of the transformed glyph.


Detailed Description

The textured glyphs need a little bit more infrastructure to draw since we have to remember the size of the texture object itself (at least implicitly). Also, we don't want to create any more texture objects than we have to, so they are always cached.


Member Data Documentation

GLfloat OGLFT::Texture::TextureInfo::texture_s_
 

The fraction of the texture width occupied by the glyph.

GLfloat OGLFT::Texture::TextureInfo::texture_t_
 

The fraction of the texture height occupied by the glyph.


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