diff options
Diffstat (limited to 'converter/other/pamtosvg/spline.h')
-rw-r--r-- | converter/other/pamtosvg/spline.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/converter/other/pamtosvg/spline.h b/converter/other/pamtosvg/spline.h index 96ceab4e..cfdce248 100644 --- a/converter/other/pamtosvg/spline.h +++ b/converter/other/pamtosvg/spline.h @@ -18,20 +18,19 @@ typedef at_spline_type spline_type; #define ELLIPSETYPE AT_ELLIPSETYPE #define CIRCLETYPE AT_CIRCLETYPE -#define START_POINT(spl) ((spl).v[0]) +#define BEG_POINT(spl) ((spl).v[0]) #define CONTROL1(spl) ((spl).v[1]) #define CONTROL2(spl) ((spl).v[2]) -#define BEG_POINT(spl) ((spl).v[0]) #define END_POINT(spl) ((spl).v[3]) #define SPLINE_DEGREE(spl) ((spl).degree) #define SPLINE_LINEARITY(spl) ((spl).linearity) #ifndef _IMPORTING /* Print a spline on the given file. */ -extern void print_spline (FILE *, spline_type); +void print_spline (FILE *, spline_type); /* Evaluate SPLINE at the given T value. */ -extern float_coord evaluate_spline (spline_type spline, float t); +Point evaluate_spline (spline_type spline, float t); #endif /* Each outline in a character is typically represented by many |