SMOLNET PORTAL home about changes
font.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
(DIR) LICENSE
---
font.h (384B)
---
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 size_t font_width(struct font *, int);
18 size_t font_strlen(struct font *, char *);
19
20 #endif
Response: application/gopher-menu
Original URLgopher://bitreich.org/1/scm/ploot/file/font.h.gph
Content-Typeapplication/gopher-menu; charset=utf-8