diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-08-19 03:12:28 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-08-19 03:12:28 +0000 |
commit | 1fd361a1ea06e44286c213ca1f814f49306fdc43 (patch) | |
tree | 64c8c96cf54d8718847339a403e5e67b922e8c3f /converter/other/pamtosvg/fit.h | |
download | netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.tar.gz netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.tar.xz netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.zip |
Create Subversion repository
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pamtosvg/fit.h')
-rw-r--r-- | converter/other/pamtosvg/fit.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/converter/other/pamtosvg/fit.h b/converter/other/pamtosvg/fit.h new file mode 100644 index 00000000..529da5c7 --- /dev/null +++ b/converter/other/pamtosvg/fit.h @@ -0,0 +1,34 @@ +/* fit.h: convert the pixel representation to splines. */ + +#ifndef FIT_H_INCLUDED +#define FIT_H_INCLUDED + +#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; + +void +fit_outlines_to_splines(pixel_outline_list_type const pixelOutlineList, + fitting_opts_type * const fittingOptsP, + distance_map_type * const dist, + unsigned short const width, + unsigned short const height, + at_exception_type * const exception, + at_progress_func notifyProgress, + void * const progressData, + at_testcancel_func testCancel, + void * const testcancelData, + spline_list_array_type * const splineListArrayP); + +/* Get a new set of fitting options */ +fitting_opts_type +new_fitting_opts(void); + +#endif |