curvedraw
annotate 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 |
rev | line source |
---|---|
nuclear@6 | 1 #ifndef CURVEFILE_H_ |
nuclear@6 | 2 #define CURVEFILE_H_ |
nuclear@6 | 3 |
nuclear@6 | 4 #include <stdio.h> |
nuclear@10 | 5 #include <list> |
nuclear@6 | 6 #include "curve.h" |
nuclear@6 | 7 |
nuclear@6 | 8 bool save_curves(const char *fname, const Curve * const *curves, int count); |
nuclear@6 | 9 bool save_curves(FILE *fp, const Curve * const *curves, int count); |
nuclear@6 | 10 |
nuclear@10 | 11 std::list<Curve*> load_curves(const char *fname); |
nuclear@10 | 12 std::list<Curve*> load_curves(FILE *fp); |
nuclear@6 | 13 |
nuclear@6 | 14 #endif // CURVEFILE_H_ |