hoa_video::FontGlyph Class Reference

A structure to hold properties about a particular font glyph. More...

#include <text.h>

Collaboration diagram for hoa_video::FontGlyph:

Collaboration graph
[legend]
List of all members.

Public Attributes

int32 advance
 The amount of space between glyphs.
int32 height
 The height of the glyph in pixels.
float max_x
 The maxx of the glyph in texture space (see TTF_GlyphMetrics).
float max_y
 The maxy of the glyph in texture space (see TTF_GlyphMetrics).
int min_x
 The minx of the glyph in pixels (see TTF_GlyphMetrics).
int min_y
 The miny of the glyph in pixels (see TTF_GlyphMetrics).
GLuint texture
 The index of the GL texture for this glyph.
int top_y
 The top y value of the glyph.
int32 width
 The width of the glyph in pixels.

Detailed Description

A structure to hold properties about a particular font glyph.

****************************************************************************

Definition at line 52 of file text.h.


Member Data Documentation

int32 hoa_video::FontGlyph::advance

The amount of space between glyphs.

Definition at line 69 of file text.h.

Referenced by hoa_video::GameVideo::_CacheGlyphs().

int32 hoa_video::FontGlyph::height

The height of the glyph in pixels.

Definition at line 59 of file text.h.

Referenced by hoa_video::GameVideo::_CacheGlyphs().

float hoa_video::FontGlyph::max_x

The maxx of the glyph in texture space (see TTF_GlyphMetrics).

Definition at line 65 of file text.h.

Referenced by hoa_video::GameVideo::_CacheGlyphs().

float hoa_video::FontGlyph::max_y

The maxy of the glyph in texture space (see TTF_GlyphMetrics).

Definition at line 67 of file text.h.

Referenced by hoa_video::GameVideo::_CacheGlyphs().

int hoa_video::FontGlyph::min_x

The minx of the glyph in pixels (see TTF_GlyphMetrics).

Definition at line 61 of file text.h.

Referenced by hoa_video::GameVideo::_CacheGlyphs().

int hoa_video::FontGlyph::min_y

The miny of the glyph in pixels (see TTF_GlyphMetrics).

Definition at line 63 of file text.h.

Referenced by hoa_video::GameVideo::_CacheGlyphs().

GLuint hoa_video::FontGlyph::texture

The index of the GL texture for this glyph.

Definition at line 55 of file text.h.

Referenced by hoa_video::GameVideo::_CacheGlyphs().

int hoa_video::FontGlyph::top_y

The top y value of the glyph.

Definition at line 71 of file text.h.

Referenced by hoa_video::GameVideo::_CacheGlyphs().

int32 hoa_video::FontGlyph::width

The width of the glyph in pixels.

Definition at line 57 of file text.h.

Referenced by hoa_video::GameVideo::_CacheGlyphs().


The documentation for this class was generated from the following file:
Generated on Fri Jul 6 23:16:14 2007 for Hero of Allacrost by  doxygen 1.5.1