Swadge 2024
2.0.0
APIs to develop games for the Magfest Swadge
Loading...
Searching...
No Matches
fs_font.h
Go to the documentation of this file.
1
33
#ifndef _FS_FONT_H_
34
#define _FS_FONT_H_
35
36
#include <stdint.h>
37
#include <stdbool.h>
38
39
#include "
font.h
"
40
41
bool
loadFont
(
const
char
* name,
font_t
* font,
bool
spiRam);
42
void
freeFont
(
font_t
* font);
43
44
#endif
font.h
font_t
A font is a collection of font_ch_t for all ASCII characters. Each character has the same height and ...
Definition
font.h:66
freeFont
void freeFont(font_t *font)
Free the memory allocated for a font.
Definition
fs_font.c:89
loadFont
bool loadFont(const char *name, font_t *font, bool spiRam)
Load a font from ROM to RAM. Fonts are bitmapped image files that have a single height,...
Definition
fs_font.c:32
main
asset_loaders
fs_font.h
Generated by
1.10.0