![]() |
CUGL
Cornell University Game Library
|
#include <CUFont.h>
Public Attributes | |
| int | minx |
| int | maxx |
| int | miny |
| int | maxy |
| int | advance |
This class is a simple struct to store glyph metric data
A glyph metric stores the bounding box of a glyph, pluse the spacing information around it. The bouding box is offset from an origin, and the advance the distance to the next glyph origin. For more information, see http://jcatki.no-ip.org:8080/SDL_ttf/SDL_ttf.html#SEC38
| int cugl::Font::Metrics::advance |
The distance from the origin of this glyph to the next
| int cugl::Font::Metrics::maxx |
The maximum x-offset of the glyph from the origin (right side)
| int cugl::Font::Metrics::maxy |
The maximum y-offset of the glyph from the origin (top edge)
| int cugl::Font::Metrics::minx |
The minimum x-offset of the glyph from the origin (left side)
| int cugl::Font::Metrics::miny |
The minimum y-offset of the glyph from the origin (bottom edge)
1.8.10