HoverRace  2.0
Public Member Functions | Public Attributes | List of all members
HoverRace::Display::GlyphEntry Class Reference

A single glyph in the backing texture. More...

#include <TypeCase.h>

Public Member Functions

 GlyphEntry ()
 
bool IsInitialized () const
 

Public Attributes

int advance
 The width of the glyph when placed next to other glyphs. More...
 
MR_UInt32 cp
 The Unicode character point represented by this glyph. More...
 
unsigned int page
 Index of the texture that contains the character. More...
 
SDL_Rect srcRect
 The bounds of the glyph in the texture. More...
 

Detailed Description

A single glyph in the backing texture.

Author
Michael Imamura

Constructor & Destructor Documentation

HoverRace::Display::GlyphEntry::GlyphEntry ( )
inline

Member Function Documentation

bool HoverRace::Display::GlyphEntry::IsInitialized ( ) const
inline

Member Data Documentation

int HoverRace::Display::GlyphEntry::advance

The width of the glyph when placed next to other glyphs.

MR_UInt32 HoverRace::Display::GlyphEntry::cp

The Unicode character point represented by this glyph.

unsigned int HoverRace::Display::GlyphEntry::page

Index of the texture that contains the character.

SDL_Rect HoverRace::Display::GlyphEntry::srcRect

The bounds of the glyph in the texture.


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