1 /* fit.h: convert the pixel representation to splines. */
2 
3 #ifndef FIT_H
4 #define FIT_H
5 
6 #include "autotrace.h"
7 #include "image-proc.h"
8 #include "pxl-outline.h"
9 #include "spline.h"
10 #include "exception.h"
11 
12 /* See fit.c for descriptions of these variables, all of which can be
13    set using options.  */
14 typedef at_fitting_opts_type fitting_opts_type;
15 
16 /* Fit splines and lines to LIST.  */
17 extern spline_list_array_type fitted_splines (pixel_outline_list_type,
18 					      fitting_opts_type *,
19 					      distance_map_type *,
20 					      unsigned short width, unsigned short height,
21 					      at_exception_type * exception,
22 					      at_progress_func, at_address,
23 					      at_testcancel_func, at_address);
24 
25 /* Get a new set of fitting options */
26 extern fitting_opts_type new_fitting_opts (void);
27 
28 #endif /* not FIT_H */
29