git ssb

1+

cel / pngspark



Tree: 378c8b78a1a63307a4f41c22709ff8a0ac8026a3

Files: 378c8b78a1a63307a4f41c22709ff8a0ac8026a3 / pngspark.h

452 bytesRaw
1#ifndef __PNGSPARK_H
2#define __PNGSPARK_H
3
4#include <stdint.h>
5
6struct 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
17int pngspark_init(struct pngspark *, size_t, const char *, double);
18int pngspark_append(struct pngspark *, double);
19int pngspark_write(struct pngspark *, FILE *);
20int pngspark_end(struct pngspark *);
21
22#endif /* __PNGSPARK_H */
23

Built with git-ssb-web