Lums
Public Attributes | List of all members
lm::Glyph Struct Reference

A struct describing a single character from a font. More...

#include <Font.hpp>

Public Attributes

int width
 
int height
 
int top
 
int left
 
float advance
 
float kerning [128]
 

Detailed Description

A struct describing a single character from a font.

Member Data Documentation

float lm::Glyph::advance

The distance between two consecutive glyphs on the x axis

int lm::Glyph::height

The glyph height

float lm::Glyph::kerning[128]

A kerning table

int lm::Glyph::left

The glyph left displacement

int lm::Glyph::top

The glyph top displacement

int lm::Glyph::width

The glyph width


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