Xiqual 0.9.1

In file include/fonts.h:

typedef struct xifont

Xiqual font structure.

[more]struct xifont *next
Next font pointer for putting this in a List
[more]struct xifont *prev
Previous font pointer for putting this in a List
[more]char* name
Optional name for searching in lists
[more]char* author
Optional author string
[more]ulong maskcol
Transparent colour
[more]SDL_Rect dst
Destination rectangle for slightly faster operation
[more]Uint16 w
Width of each symbol
[more]Uint16 h
Height of each symbol
[more]Uint16 spacing
Extra space to the right of each glyph when printed
[more]SDL_Surface* glyph[256]
The table of glyphs.


Documentation

Xiqual font structure. Xiqual fonts are very simple fonts built from one or more equal-sized images. It's possible to have from one to 256 different symbols in a font, as it's based on the ASCII table.

For more advanced options, wide character support and more than 256 symbols, use a Truetype font.

ostruct xifont *next
Next font pointer for putting this in a List

ostruct xifont *prev
Previous font pointer for putting this in a List

ochar* name
Optional name for searching in lists

ochar* author
Optional author string

oulong maskcol
Transparent colour

oSDL_Rect dst
Destination rectangle for slightly faster operation

oUint16 w
Width of each symbol

oUint16 h
Height of each symbol

oUint16 spacing
Extra space to the right of each glyph when printed

oSDL_Surface* glyph[256]
The table of glyphs. Theoretically, this could be expanded to handle wide characters. In practice, I don't think anyone could be arsed to actually use it.

Author:
Ronny Bangsund

Alphabetic index



This page was generated with the help of DOC++.