From d5dc5396c5f2700810a591a8359c5415923b308a Mon Sep 17 00:00:00 2001 From: giraffedata Date: Fri, 26 Jun 2009 01:58:55 +0000 Subject: Put back 4-point spline stub, used by Svgtopam git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@936 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/libppmd.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'lib/libppmd.c') diff --git a/lib/libppmd.c b/lib/libppmd.c index 3f86f5b6..89504c46 100644 --- a/lib/libppmd.c +++ b/lib/libppmd.c @@ -833,6 +833,31 @@ ppmd_polyspline(pixel ** const pixels, +void +ppmd_spline4p(pixel ** const pixels, + unsigned int const cols, + unsigned int const rows, + pixval const maxval, + ppmd_point const endPt0, + ppmd_point const endPt1, + ppmd_point const ctlPt0, + ppmd_point const ctlPt1, + ppmd_drawprocp drawproc, + const void * const clientdata) { +/*---------------------------------------------------------------------------- + Draw a cubic spline from 'endPt0' to 'endPt1', using 'ctlPt0' and + 'ctlPt1' as control points in the classic way: a line through + 'endPt0' and 'ctlPt0' is tangent to the curve at 'entPt0' and the + length of that line controls "enthusiasm," whatever that is. + Same for 'endPt1' and 'ctlPt1'. +-----------------------------------------------------------------------------*/ + + pm_error("ppmd_spline4p() has not been written yet!"); + +} + + + void ppmd_circlep(pixel ** const pixels, unsigned int const cols, -- cgit 1.4.1