git ssb

1+

cel / pngspark



Tree: c52a3123eba4e4c49aabce41af35e284092287ad

Files: c52a3123eba4e4c49aabce41af35e284092287ad / pngspark.h

408 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 max_value;
10 size_t height;
11 uint32_t color;
12 double *values;
13};
14
15int pngspark_init(struct pngspark *, size_t, const char *);
16int pngspark_append(struct pngspark *, double);
17int pngspark_write(struct pngspark *, FILE *);
18int pngspark_end(struct pngspark *);
19
20#endif /* __PNGSPARK_H */
21

Built with git-ssb-web