git ssb

1+

cel / pngspark



Tree: 1fe01596a886b6ef6fe6d2b10c5b11a6e40a23ba

Files: 1fe01596a886b6ef6fe6d2b10c5b11a6e40a23ba / 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