sprint 1-alpha
Public Member Functions | Public Attributes
sprint::font Struct Reference

A FONT structure handler. More...

#include <font.h>

List of all members.

Public Member Functions

bool LoadDescription (const char *txt)
void GetTextSize (const char *txt, int *width, int *height) const
 measure text font size
const CharDescrGetChar (int c) const
 return single char description

Public Attributes

int base
unsigned int txtW
unsigned int txtH
int nPages
int packed
int encoded
int nChars
CharDescr def
std::vector< CharDescrchars
sprint::iimage texture
std::vector< kerning_pairkernings
 Kernings.

Detailed Description

A FONT structure handler.


Member Data Documentation

base offset (BOTTOM)

characters array

default character

number of chars in array

Number of Pages (1)

Texture

unsigned int sprint::font::txtW

Texture Size loaded by File


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines