Sign in Join
FPDoc Onlineexperiment

Bezier function

In unit GraphMath

Gets a TBezier instance representing the specified Bezier control points.

Declaration

pascal
function Bezier(const C1: TFloatPoint; const C2: TFloatPoint; 
 const C3: TFloatPoint; const C4: TFloatPoint): TBezier
 ; overload

Arguments

C1

Control point on the parametric curve. C1 is an endpoint.

C2

Control point on the parametric curve. C2 is a directional control point for a Quadratic or Cubic Bezier.

C3

Control point on the parametric curve. C3 is a directional control point for a Cubic Bezier.

C4

Control point on the parametric curve. C4 is an endpoint.

Function result

TBezier instance with the values in C1, C2, C3, and C4.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.