graphics/font.h

Includes from this file:

Declarations in this file:

Data members in SGCharInfo

dheight
dwidth
@{...
height
texture
\brief Character's texture.
width
@{...
xpost
@{...
xpre
@{...
ypost
ypre

Data members in SGFont

cache
< The character UTF-32 values (keys)...
cachechars
The character UTF-32 values (keys)...
chars
< The number of characters...
conv
fname
handle
...
height
< Filename used to load the font...
numcache
Length of the arrays...
numchars
The number of characters...

Functions

_sgFontCenterOffsetU32
_sgFontFindCache
_sgFontGetChars
_sgFontLoad
_sgFontToLoad
_sgFontToRGBA
_sgFontToU32
_sgFontU16ToU32
_sgFontU8ToU32
_sgFontWToU32
sgFontCreate
\brief Load a font \param fname Filename of the font to load \param height Height of the font (in pt) \param preload Number of characters to preload; good values are 127 or 255.
sgFontDestroy
\brief Destroy a font info \param font The font info to destroy.
sgFontGetPos
sgFontGetPosU16
sgFontGetPosU32
sgFontGetPosU8
sgFontGetPosW
sgFontGetPosf
sgFontGetPosfW
sgFontGetPosfv
sgFontGetPosfvW
sgFontPrint
sgFontPrintAligned
sgFontPrintAlignedU16
sgFontPrintAlignedU32
sgFontPrintAlignedU8
sgFontPrintAlignedW
sgFontPrintAlignedf
sgFontPrintAlignedfW
TODO...
sgFontPrintAlignedfv
sgFontPrintAlignedfvW
sgFontPrintU16
sgFontPrintU32
...
sgFontPrintU8
sgFontPrintW
sgFontPrintf
...
sgFontPrintfW
@{...
sgFontPrintfv
...
sgFontPrintfvW
sgFontResizeCopy
sgFontStrSize
sgFontStrSizeU16
sgFontStrSizeU32
...
sgFontStrSizeU8
sgFontStrSizeW
sgFontStrSizef
...
sgFontStrSizefW
@{...
sgFontStrSizefv
...
sgFontStrSizefvW

Typedefs

SGCharInfo
SGFont