Bitmap/Bézier curves/Quadratic: Difference between revisions

Content deleted Content added
Elfish (talk | contribs)
No edit summary
Elfish (talk | contribs)
Line 414:
{{libheader|SysUtils,StdCtrls}}
[[File:DelphiQuadBezier.png|frame|none]]
 
This code uses a Quadratic Bézier curve to create a Cardinal Spline, which is a much easier spline to use. You just provide a series of points and the spline will honor those points while creating a smooth curline line between the points.
 
<syntaxhighlight lang="Delphi">
Line 729 ⟶ 731:
Elapsed Time: 0.647 ms.
</pre>
 
 
=={{header|Factor}}==