MCPcopy Create free account
hub / github.com/NetHack/NetHack / BitmapFont

Class BitmapFont

sys/msdos/font.h:28–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 third level. */
27
28struct BitmapFont {
29 /* Dimensions of a single glyph */
30 unsigned width;
31 unsigned height;
32
33 /* The glyphs, in the order that they appear in the font */
34 /* IBM handling will index the glyphs this way */
35 /* glyph points to an allocated array, each element of which points to
36 another allocated array */
37 unsigned num_glyphs;
38 unsigned char **glyphs;
39
40 /* The root node of the Unicode tree */
41 unsigned **unicode[17];
42};
43
44extern struct BitmapFont *load_font(const char *filename);
45extern void free_font(struct BitmapFont *font);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected