a4efb4c0c3
patches were discussed with Bryan Henderson, maintainer of the netpbm code.
19 lines
1 KiB
Text
19 lines
1 KiB
Text
$NetBSD: patch-as,v 1.3 2006/10/03 22:56:51 schwarz Exp $
|
|
|
|
--- converter/other/pamtosvg/fit.c.orig 2006-09-30 19:02:50.000000000 +0200
|
|
+++ converter/other/pamtosvg/fit.c 2006-09-30 19:06:43.000000000 +0200
|
|
@@ -61,12 +61,12 @@
|
|
at_exception_type * exception);
|
|
static void filter (curve_type, fitting_opts_type *);
|
|
static void find_vectors
|
|
- (unsigned, pixel_outline_type, vector_type *, vector_type *, unsigned);
|
|
+ (unsigned const, pixel_outline_type const, vector_type * const, vector_type * const, unsigned const);
|
|
static float find_error (curve_type, spline_type, unsigned *,
|
|
at_exception_type * exception);
|
|
static vector_type find_half_tangent (curve_type, bool start, unsigned *, unsigned);
|
|
static void find_tangent (curve_type, bool, bool, unsigned);
|
|
-static void remove_knee_points (curve_type, bool);
|
|
+static void remove_knee_points (curve_type const, bool const);
|
|
static void set_initial_parameter_values (curve_type);
|
|
static float distance (float_coord, float_coord);
|
|
|