KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Extra mini-font provided for Dreamcast and NAOMI More...
Files | |
file | minifont.h |
Simple font drawing functions. | |
Functions | |
int | minifont_draw (uint16 *buffer, uint32 bufwidth, uint32 c) |
Draw a single character to a buffer. | |
int | minifont_draw_str (uint16 *b, uint32 bufwidth, const char *str) |
Draw a full string to any sort of buffer. | |
Extra mini-font provided for Dreamcast and NAOMI
Draw a single character to a buffer.
This function draws a single character to the given buffer.
buffer | The buffer to draw to (at least 8 x 16 pixels) |
bufwidth | The width of the buffer in pixels |
c | The character to draw |
Draw a full string to any sort of buffer.
This function draws a NUL-terminated string to the given buffer. Only standard ASCII encoded strings are supported (no extended ASCII, ANSI, Unicode, JIS, EUC, etc).
b | The buffer to draw to. |
bufwidth | The width of the buffer in pixels. |
str | The string to draw. |