libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
OGLFT::Texture::TextureInfo Struct Reference

#include <moOGLFT.h>

Public Attributes

GLuint texture_name_
 < A bound texture name is an integer in OpenGL. More...
 
FT_Int left_bearing_
 
FT_Int bottom_bearing_
 The bottom bearing of the transformed glyph. More...
 
int width_
 The 2**l width of the texture. More...
 
int height_
 
GLfloat texture_s_
 by the glyph. More...
 
GLfloat texture_t_
 The advance vector of the transformed glyph. More...
 
FT_Vector advance_
 

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.

Definition at line 1969 of file moOGLFT.h.

Member Data Documentation

FT_Vector OGLFT::Texture::TextureInfo::advance_

Definition at line 1984 of file moOGLFT.h.

FT_Int OGLFT::Texture::TextureInfo::bottom_bearing_

The bottom bearing of the transformed glyph.

Definition at line 1974 of file moOGLFT.h.

int OGLFT::Texture::TextureInfo::height_

The 2**m height of the texture. The fraction of the texture width occupied

Definition at line 1976 of file moOGLFT.h.

FT_Int OGLFT::Texture::TextureInfo::left_bearing_

Definition at line 1974 of file moOGLFT.h.

GLuint OGLFT::Texture::TextureInfo::texture_name_

< A bound texture name is an integer in OpenGL.

The left bearing of the transformed glyph.

Definition at line 1972 of file moOGLFT.h.

GLfloat OGLFT::Texture::TextureInfo::texture_s_

by the glyph.

Definition at line 1980 of file moOGLFT.h.

GLfloat OGLFT::Texture::TextureInfo::texture_t_

The advance vector of the transformed glyph.

The fraction of the texture height occupied by the glyph.

Definition at line 1980 of file moOGLFT.h.

int OGLFT::Texture::TextureInfo::width_

The 2**l width of the texture.

Definition at line 1976 of file moOGLFT.h.


The documentation for this struct was generated from the following file: