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