Files: edccdfe157b8cdd74de9028777231dac30cbefe0 / 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