curvedraw
view src/curvefile.h @ 12:84a647283237
added all the extra functionality to the curve class
first pass at a project-to-curve function (needs more work)
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 20 Dec 2015 07:21:32 +0200 |
parents | 6e980fddbf3b |
children | 37ab3a4c02f8 |
line source
1 #ifndef CURVEFILE_H_
2 #define CURVEFILE_H_
4 #include <stdio.h>
5 #include <list>
6 #include "curve.h"
8 bool save_curves(const char *fname, const Curve * const *curves, int count);
9 bool save_curves(FILE *fp, const Curve * const *curves, int count);
11 std::list<Curve*> load_curves(const char *fname);
12 std::list<Curve*> load_curves(FILE *fp);
14 #endif // CURVEFILE_H_