equation of a spline

I need a function or a dll in delphi to find the equation of a spline who
cross between 20 and 30 points.
Thanks,
Sebastien
seb.jacquem...@wanadoo.fr