DrawSplineSegmentBezierCubic method

  1. @override
void DrawSplineSegmentBezierCubic(
  1. Vector2D p1,
  2. Vector2D c2,
  3. Vector2D c3,
  4. Vector2D p4,
  5. double thick,
  6. ColorD color,
)
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,
);