git ssb

1+

cel / pngspark



Tree: 16f492a7668162cda0aa59a56f6efbe644b19295

Files: 16f492a7668162cda0aa59a56f6efbe644b19295 / 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