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