Skip to content

raylib.DrawSplineSegmentBezierQuadratic

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw spline segment: Quadratic Bezier, 2 points, 1 control point

Parameters

Parameter Default Value Note
p1
p2
p3
thick 1.0
color WHITE

Return value

None.

Notes

Example

// Draw a single quadratic Bezier segment: p1, ctrl, p2
raylib.DrawSplineSegmentBezierQuadratic [50, 200], [200, 50], [350, 200], 2, raylib.GREEN

Clone this wiki locally