tdrawille.h - ploot - simple plotting tools | |
git clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
tdrawille.h (753B) | |
--- | |
1 #ifndef DRAWILLE_H | |
2 #define DRAWILLE_H | |
3 | |
4 #include <stddef.h> | |
5 #include <stdint.h> | |
6 #include <stdio.h> | |
7 | |
8 #include "csv.h" | |
9 #include "font.h" | |
10 | |
11 /* | |
12 * Canvas to draw on with braille characters. | |
13 */ | |
14 struct drawille { | |
15 int col, row; /* number of dots in total */ | |
16 uint8_t buf[]; /* buffer of size (… | |
17 }; | |
18 | |
19 /**/ | |
20 size_t drawille_put_row (FILE *, struct drawille *… | |
21 void drawille_dot (struct drawille *, int,… | |
22 struct drawille *drawille_new (int, int); | |
23 void drawille_line (struct drawille *, int… | |
24 void drawille_histogram_dot (struct drawille *, in… | |
25 void drawille_histogram_line (struct drawille *, i… | |
26 char * drawille_text (struct drawille *, i… | |
27 | |
28 #endif |