DrawSplineSegmentBezierCubic method
void
DrawSplineSegmentBezierCubic()
override
Draw spline segment: Cubic Bezier, 2 points, 2 control points
Implementation
@override
void DrawSplineSegmentBezierCubic(
Vector2D p1,
Vector2D c2,
Vector2D c3,
Vector2D p4,
double thick,
ColorD color,
) => _ffi.DrawSplineSegmentBezierCubic(
$.Vector2$.Ref1(p1).asNativePointer<Vector2C>().ref,
$.Vector2$.Ref2(c2).asNativePointer<Vector2C>().ref,
$.Vector2$.Ref3(c3).asNativePointer<Vector2C>().ref,
$.Vector2$.Ref4(p4).asNativePointer<Vector2C>().ref,
thick,
$.Color$.Ref1(color).asNativePointer<ColorC>().ref,
);