syBR::Game::GUIFont::CharacterDescriptor Struct Reference

Structure used internally to describe a font character. More...

List of all members.

Public Attributes

unsigned short int x
 Horizontal position of the character image in the texture.
unsigned short int y
 Vertical position of the character image in the texture.
unsigned short int width
 Width of the character image in the texture.
unsigned short int height
 Height of the character image in the texture.
unsigned short int xOffset
 Horizontal offset from the cursor position where the character image is to be drawn.
unsigned short int yOffset
 Vertical offset from the cursor position where the character image is to be drawn.
unsigned short int xAdvance
 Horizontal advancement of the cursor for the next character.
std::list< std::pair
< int, int > > 
lKerning
 List of <second character, amount> elements describing the kerning of the character.


Detailed Description

Structure used internally to describe a font character.

Member Data Documentation

unsigned short int syBR::Game::GUIFont::CharacterDescriptor::x

Horizontal position of the character image in the texture.

unsigned short int syBR::Game::GUIFont::CharacterDescriptor::y

Vertical position of the character image in the texture.

unsigned short int syBR::Game::GUIFont::CharacterDescriptor::width

Width of the character image in the texture.

unsigned short int syBR::Game::GUIFont::CharacterDescriptor::height

Height of the character image in the texture.

unsigned short int syBR::Game::GUIFont::CharacterDescriptor::xOffset

Horizontal offset from the cursor position where the character image is to be drawn.

unsigned short int syBR::Game::GUIFont::CharacterDescriptor::yOffset

Vertical offset from the cursor position where the character image is to be drawn.

unsigned short int syBR::Game::GUIFont::CharacterDescriptor::xAdvance

Horizontal advancement of the cursor for the next character.

std::list<std::pair<int, int> > syBR::Game::GUIFont::CharacterDescriptor::lKerning

List of <second character, amount> elements describing the kerning of the character.


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

Copyright © 2008 by Sebastien Frippiat
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.
Last modified Tue Dec 30 17:57:33 2008