| 1 |
|
| 2 |
|
| 3 |
#ifndef FIT_H_INCLUDED |
| 4 |
#define FIT_H_INCLUDED |
| 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 |
|
| 13 |
|
| 14 |
|
| 15 |
typedef at_fitting_opts_type fitting_opts_type; |
| 16 |
|
| 17 |
void |
| 18 |
fit_outlines_to_splines(pixel_outline_list_type const pixelOutlineList, |
| 19 |
fitting_opts_type * const fittingOptsP, |
| 20 |
distance_map_type * const dist, |
| 21 |
unsigned short const width, |
| 22 |
unsigned short const height, |
| 23 |
at_exception_type * const exception, |
| 24 |
at_progress_func notifyProgress, |
| 25 |
void * const progressData, |
| 26 |
at_testcancel_func testCancel, |
| 27 |
void * const testcancelData, |
| 28 |
spline_list_array_type * const splineListArrayP); |
| 29 |
|
| 30 |
|
| 31 |
fitting_opts_type |
| 32 |
new_fitting_opts(void); |
| 33 |
|
| 34 |
#endif |