Files: c52a3123eba4e4c49aabce41af35e284092287ad / pngspark.h
408 bytesRaw
1 | |
2 | |
3 | |
4 | |
5 | |
6 | struct pngspark { |
7 | size_t num_values; |
8 | size_t size; |
9 | size_t max_value; |
10 | size_t height; |
11 | uint32_t color; |
12 | double *values; |
13 | }; |
14 | |
15 | int pngspark_init(struct pngspark *, size_t, const char *); |
16 | int pngspark_append(struct pngspark *, double); |
17 | int pngspark_write(struct pngspark *, FILE *); |
18 | int pngspark_end(struct pngspark *); |
19 | |
20 | |
21 |
Built with git-ssb-web