diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2008-03-26 06:21:45 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2008-03-26 06:21:45 +0000 |
commit | 4e3bf6c3f53be206dd293cbeb14dddbc85409c5f (patch) | |
tree | bdcddc10aa7f58ec1df3be414609d39b2a738e75 /converter/other | |
parent | b8754b2acadde6b1dda9e21b4cec25610134f6d9 (diff) | |
download | netpbm-mirror-4e3bf6c3f53be206dd293cbeb14dddbc85409c5f.tar.gz netpbm-mirror-4e3bf6c3f53be206dd293cbeb14dddbc85409c5f.tar.xz netpbm-mirror-4e3bf6c3f53be206dd293cbeb14dddbc85409c5f.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@599 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other')
-rw-r--r-- | converter/other/pamtosvg/curve.h | 11 | ||||
-rw-r--r-- | converter/other/pamtosvg/fit.c | 9 |
2 files changed, 5 insertions, 15 deletions
diff --git a/converter/other/pamtosvg/curve.h b/converter/other/pamtosvg/curve.h index d251df84..ba5f1833 100644 --- a/converter/other/pamtosvg/curve.h +++ b/converter/other/pamtosvg/curve.h @@ -69,17 +69,6 @@ typedef struct curve * curve_type; ? CURVE_CYCLIC (c) ? (signed int) CURVE_LENGTH (c) + (signed int) (n) - 1 : -1\ : (signed int) (n) - 1) -static __inline__ vector_type -curve_slope_none(void) { - vector_type const retval = {0.0, 0.0, 0.0}; - return retval; -} - -static bool -curve_slope_is_present(vector_type const slope) { - return slope.dx != 0.0 || slope.dy != 0.0; -} - #define PREVIOUS_CURVE(c) ((c)->previous) #define NEXT_CURVE(c) ((c)->next) diff --git a/converter/other/pamtosvg/fit.c b/converter/other/pamtosvg/fit.c index cd659e9c..4b43fbf0 100644 --- a/converter/other/pamtosvg/fit.c +++ b/converter/other/pamtosvg/fit.c @@ -1738,12 +1738,13 @@ divideAndFit(curve * const curveP, -----------------------------------------------------------------------------*/ spline_list_type * retval; curve * leftCurveP; - // The beginning (lower indexes) subcurve + /* The beginning (lower indexes) subcurve */ curve * rghtCurveP; - // The other subcurve + /* The other subcurve */ vector_type joinSlope; - // The slope of the end of the left subcurve and start of the right - // subcurve. + /* The slope of the end of the left subcurve and start of the right + subcurve. + */ spline_list_type * leftSplineListP; assert(subdivisionIndex > 1); |