SMOLNET PORTAL home about changes
tfont.h - ploot - simple plotting tools
(URL) git clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ploot (git://bitreich.org)
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
tfont.h (395B)
---
1 #ifndef FONT_H
2 #define FONT_H
3
4 #include <stddef.h>
5
6 /*
7 * Bitmapped font saved as a '_' and 'X' pattern in a C source file.
8 */
9 struct font {
10 int height; /* The width is variable. */
11 char *glyph[128]; /* 0: end, 1: off, 2: on. */
12 };
13
14 extern struct font font8;
15 extern struct font font13;
16
17 /**/
18 size_t font_width (struct font *, int);
19 size_t font_strlen (struct font *, char *);
20
21 #endif
Response: application/gopher-menu
Original URLgopher://bitreich.org/1/scm/ploot/file/src/font.h.gph
Content-Typeapplication/gopher-menu; charset=utf-8