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

m
→‎{{header|C}}: "interface"
(fortran)
m (→‎{{header|C}}: "interface")
Line 60:
</pre>
=={{header|C}}==
 
"Interface" <tt>imglib.h</tt>.
 
<lang c>void cubic_bezier(
image img,
unsigned int x1, unsigned int y1,
unsigned int x2, unsigned int y2,
unsigned int x3, unsigned int y3,
unsigned int x4, unsigned int y4,
color_component r,
color_component g,
color_component b );</lang>
 
<lang c>#include <math.h>