Skip to content

cf_draw_bezier_line2

Category: draw
GitHub: cute_draw.h


Draws line segments over a cubic bezier line.

void cf_draw_bezier_line2(CF_V2 a, CF_V2 c0, CF_V2 c1, CF_V2 b, int iters, float thickness);
Parameters Description
a The starting point.
c0 A bezier control point.
c1 A bezier control point.
b The end point.
thickness The thickness of the line to draw.
iters The number of lines used to draw the bezier spline.

cf_draw_line
cf_draw_polyline
cf_draw_bezier_line
cf_draw_arrow