|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Go to the source code of this file.
Data Structures | |
| struct | Font |
Macros | |
| #define | ASCI_SYMBOL_OFT 32 |
| #define | ASCI_TOTAL_CHAR 128-ASCI_SYMBOL_OFT |
| #define | INVALID_UV -1.0f |
Functions | |
| Font * | FontInit (float TexW, float TexH, unsigned char RowStride, unsigned char ColStride, uint32_t Color) |
| void | FontPrintString (Font *font, char *str, float xpos, float ypos, float width, float height) |
| void | FontSetColor (Font *font, uint32_t color) |
| #define ASCI_SYMBOL_OFT 32 |
| #define ASCI_TOTAL_CHAR 128-ASCI_SYMBOL_OFT |
Referenced by FontInit().
| #define INVALID_UV -1.0f |
Referenced by FontInit(), and FontUvNotCached().
| Font * FontInit | ( | float | TexW, |
| float | TexH, | ||
| unsigned char | RowStride, | ||
| unsigned char | ColStride, | ||
| uint32_t | Color ) |
References ASCI_TOTAL_CHAR, font, INVALID_UV, and malloc().
Referenced by main().
| void FontPrintString | ( | Font * | font, |
| char * | str, | ||
| float | xpos, | ||
| float | ypos, | ||
| float | width, | ||
| float | height ) |
References font, FontDrawChar(), x, and y.
Referenced by main().