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_
 The fraction of the texture width occupied by the glyph.

GLfloat texture_t_
 The fraction of the texture height occupied by the glyph.

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.

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